On 04.03.2016 13:45, Greg Falcon via Cplusplus-sig wrote: > Boost.Python 1.60 has a bug, introducing an incompatibility from 1.59, > and first noted on this mailing list on January 11. What has changed > is that a class declaration of the form > > class_<Foo, shared_ptr<Foo>>("Foo"); > > will no longer automatically register a converter for the shared_ptr > wrapper. > > This is not an intentional change, but a bug exposed by a change to > Boost.MPL. The template metaprogramming in class_metadata.hpp makes > assumptions about the types used in Boost.MPL that are no longer true. > > I have posted a fix to this issue > at https://github.com/boostorg/python/pull/59/files, which at least > solves the problem for us. This patch, when applied against 1.60, > fixes pointer registration. It can also be applied to 1.59 without issue. > > If someone on this list could take a look at this change, I'd > appreciate it. Let me know if you have any questions.
I have merged the PR, and will try to get it into master for the 1.61 release. Sorry this took so long. Stefan > > Thanks, > Greg Falcon > > > > _______________________________________________ > Cplusplus-sig mailing list > Cplusplus-sig@python.org > https://mail.python.org/mailman/listinfo/cplusplus-sig -- ...ich hab' noch einen Koffer in Berlin... _______________________________________________ Cplusplus-sig mailing list Cplusplus-sig@python.org https://mail.python.org/mailman/listinfo/cplusplus-sig