[C++-sig] Boost Python - How to export boost::shared_ptr<std::string>

Romain CHANU romainchanu at gmail.com
Tue Dec 15 08:36:12 CET 2009


I want to export an attribute which is a boost::shared_ptr<std::string> and
I got the following error:
" TypeError: No Python class registered for C++ class class
boost::shared_ptr<class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> > >  "
I found an old post on a similar issue :
no one has replied :-\

Can anyone tell me how can I export this type?

Thank you!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/cplusplus-sig/attachments/20091215/025d8e3e/attachment.htm>

More information about the Cplusplus-sig mailing list