On Fri, Mar 19, 2010 at 6:42 PM, Maciej Sitarz <macieksit...@wp.pl> wrote: > > Hi all, > > I want to create python module for class that has protected operator=. > That class placed in std::vector and code generated by Py++ uses that > operator.
I could be wring, but if I remember right, you can not use such classes with Boost.Python indexing suite. I suggest you to switch to the indexing suite that comes with Py++: http://language-binding.net/pyplusplus/documentation/containers.html . I am pretty sure it will work out of the box. You will not have to specify "noncopyable=True". HTH -- Roman Yakovenko C++ Python language binding http://www.language-binding.net/ _______________________________________________ Cplusplus-sig mailing list Cplusplus-sig@python.org http://mail.python.org/mailman/listinfo/cplusplus-sig