[C++-sig] Py++: auto_ptr held_type

Anand, Kumar kanand at qualcomm.com
Tue Jun 12 21:03:51 CEST 2007


I am trying to expose a "MyTestClass" to python using py++ and with
held_type as std::auto_ptr. 

Since Py++ creates a wrapper class for every C++ class that it exposes,
should held_type be "std::auto_ptr<MyTestClass>" or
"std::auto_ptr<MyTestClass_Wrapper>"?

Can you point as to why one would choose one against the other?

Thanks
Kumar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/cplusplus-sig/attachments/20070612/e210fc24/attachment.htm>


More information about the Cplusplus-sig mailing list