Re: [C++-sig] Boost Python - How to export boost::shared_ptr

2009-12-15 Thread Romain CHANU
owing that: - If boost::shared_ptr attribute is not initialized, its value is 0) - I use add_property Any workaround? Cheers, 2009/12/15 Roman Yakovenko > On Tue, Dec 15, 2009 at 9:36 AM, Romain CHANU > wrote: > > Hi, > > > > I want to export an attribute which is a

[C++-sig] Boost Python - How to export boost::shared_ptr

2009-12-14 Thread Romain CHANU
Hi, I want to export an attribute which is a boost::shared_ptr and I got the following error: " TypeError: No Python class registered for C++ class class boost::shared_ptr,class std::allocator > > " I found an old post on a similar issue : http://old.nabble.com/Boost.python---How-to-export-shared