[C++-sig] bp::arg() also requires types to be declared
roman.yakovenko at gmail.com
Wed Jun 21 07:35:44 CEST 2006
On 6/21/06, David Abrahams <dave at boost-consulting.com> wrote:
> "Niall Douglas" <s_sourceforge at nedprod.com> writes:
> > It appears it's not only enums that must be defined before use with
> > boost::python::arg() - also all types.
> What do you mean by "used with?"
> What do you mean by "defined?" Do you mean they need to be complete
> types (i.e. not forward declared)?
In order to use boost::python::arg with default value, the type of
should be already registered.
C++ Python language binding
More information about the Cplusplus-sig