[C++-sig] call policies
Stefan Seefeld
seefeld at sympatico.ca
Thu Oct 17 22:18:53 CEST 2002
David Abrahams wrote:
>>signature. How do I express that in boost.python ? The
>>'custody_and_wart' policy expects two arguments, the object
>
> ^^^^^^^^^^^^^^^^
>
> A very interesting re-spelling, to be sure!
oups, what a slip ! :-)
> Bar* BarFactory(std::auto_ptr<Foo> foo);
>
> class_<Foo, std::auto_ptr<Foo> >("Foo")
> ...
> ;
thanks, that sounds very reasonable !
Stefan
More information about the Cplusplus-sig
mailing list