I get a compilation error saying that the scoped_ptr copy scoped_ptr is private with the following code snippet:
class a {}; struct s { boost::scoped_ptr<a> p; }; BOOST_PYTHON_MODULE( module ) { class_<s>( "s" ); }
This example works with shared_ptr. It would be nice if anyone knows the answer. Thanks
source share