[C++-sig] Memory management in Boost.Python

Stefan Seefeld stefan at seefeld.name
Wed Mar 11 07:01:09 CET 2015


On 10/03/15 11:24 PM, Ernie Lee wrote:
> Hi Stefan,
>
>   I updated my code so it now use 'boost::shared_ptr' class while
> specifying the held-type and i got exactly the same errors (i guess
> boost did recognize class even in different namespace).
>
>   Any other theories of what could be wrong? Could it be that Python
> in some cases tries to manage memory directly, disregarding SP layer?

In that case I suggest you narrow down the failure into a minimal test
case and send that to the list. Otherwise this would be highly
speculative and thus inefficient.

Regards,
        Stefan

-- 

      ...ich hab' noch einen Koffer in Berlin...



More information about the Cplusplus-sig mailing list