|
|
On Wednesday 21 June 2006 18:01, Niall Douglas wrote:
> If, and only if, both Foo and Foo2 have constructors with no default
> args, you can delay the constructor declaration and declare it later
> via bp::init<>. Otherwise you are trapped and can't use bp::arg() at
> all.
That's not the whole truth. AFAICS, you can use no_init to delay constructor
declaration in any case, create all class_<...> instantiations and then later
add the methods. Maybe that helps?
Ciao, / /
/--/
/ / ANS
_______________________________________________
C++-sig mailing list
C++-sig@xxxxxxxxxx
http://mail.python.org/mailman/listinfo/c++-sig
|
|