[C++-sig] Constructors in callback classes.

Brett Calcott brett.calcott at paradise.net.nz
Sat Nov 9 08:28:11 CET 2002


>
> > It wasn't obvious what I should do here.
>
> Good point. I need to add a note in
>   http://www.boost.org/libs/python/doc/v2/class.html#HeldType
> and Joel should add something in
>
http://www.boost.org/libs/python/doc/tutorial/doc/class_virtual_functions.ht
ml
>
> Thanks for pointing it out.
> --

For those tuned in...

Okay, now I get it. You don't have to declare the PyObject * in the init<..>
list. Boost.Python already knows it there...

Brett





More information about the Cplusplus-sig mailing list