Mihail Konstantinov wrote:
Stefan Seefeld wrote:

In this case you want to tell Python that your object is non-copyable:

I followed your suggestion and still get the same error message:

[snip]

/home/mihail/temporary/boost_1_37_0/boost/python/object/value_holder.hpp: In constructor 
‘boost::python::objects::value_holder<Value>::value_holder(PyObject*, A0) [with A0 = 
boost::reference_wrapper<const B>, Value = B]’:
/home/mihail/temporary/boost_1_37_0/boost/python/object/value_holder.hpp:134: note: synthesized method ‘B::B(const B&)’ first required here

Seems like B needs to be noncopyable too?

/Marcus
_______________________________________________
Cplusplus-sig mailing list
Cplusplus-sig@python.org
http://mail.python.org/mailman/listinfo/cplusplus-sig

Reply via email to