Re: [C++-sig] Boost::Python Reference Counting

2014-05-20 Thread Jaedyn Draper
do it manually. On 5/20/2014 9:48 AM, Jaedyn Draper wrote: std::shared_ptr and similar types can also be used like so: boost::python::class_> But I don't think that would solve the problem because it's a raw pointer to _container being held here. I don't think there's a w

Re: [C++-sig] Boost::Python Reference Counting

2014-05-20 Thread Jaedyn Draper
std::shared_ptr and similar types can also be used like so: boost::python::class_> But I don't think that would solve the problem because it's a raw pointer to _container being held here. I don't think there's a way to do what you want with raw pointers. The only way I would know of to do that