[C++-sig] How to manage smart pointer as return value of a factory?

Julien swell at netcourrier.com
Wed Feb 15 14:36:17 CET 2006


I did the change according to Mathieu's reply and the code compiles ( good 
news !) but when i try to use it in python i have this message . Does any1 
have an idea ?

y = hello.FactY.create()
TypeError: No to_python (by-value) converter found for C++ type: class 
std::auto_ptr<struct X>


More information about the Cplusplus-sig mailing list