Boost.python - How to export shared_ptr<vector<shared_ptr<string> > >?

Hi,
I have a function that returns type
boost::shared_ptr
v = my_function() v[0] TypeError: No Python class registered for C++ class class boost::shared_ptr
>
I tried to add bp::register_ptr_to_python< boost::shared_ptr< std::string > >(); But still not work. How can I make it work? Thanks you very much. -- View this message in context: http://www.nabble.com/Boost.python---How-to-export-shared_ptr%3Cvector%3Csha... Sent from the Boost - Users mailing list archive at Nabble.com.
participants (1)
-
blp330