Boost logo

Boost :

Subject: Re: [boost] Using an element of a class A in a constructor of a class B (reflection with boost::python)
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2012-03-10 20:49:26


AMDG

On 03/10/2012 04:03 PM, christophe jean-joseph wrote:
>
> I am declaring f under both its class B and A_Base as follow:
> .def("f", &B::f)
>
> But when I try this for a constructor as f, it refuse to compile.
> Anyone got a clue?
> Thank you very much in advance for any further help.
>

http://www.boost.org/libs/python/doc/tutorial/doc/html/python/exposing.html#python.constructors

In Christ,
Steven Watanabe


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk