[C++-sig] Build Errors Making the "quickstart" Demo Project

2011-09-06 Thread Paul Kroitor
Hello all, We are adding a python scripting layer on top of an existing largish C++ app, and are hoping to use Boost.Python to accomplish this. So far, it's hasn't been going very smoothly, but I think we are nearly to the point of getting the demo program to compile. For the most part, we

[C++-sig] Solved (pickle multiple refs to objects)

2011-09-06 Thread Neal Becker
The solution to my problem is a combination of boost::serialization and boost::shared_ptr. Rather than holding refs to the contained shared objects, if the objects are share_ptr, then serialization will do the correct thing. For example, I have struct boost_uniform_int_wrap { boost::shared_p