[C++-sig] differencein memory management

David Abrahams dave at boostpro.com
Thu Jul 17 18:29:02 CEST 2008


on Thu Jul 17 2008, Gennadiy Rozental <rogeeff-AT-gmail.com> wrote:

> David Abrahams <dave <at> boostpro.com> writes:
>> > I guess I need the later - I want to manage C++ object lifecycle myself. 
>> > But in
>> > this case I can't get from A* back to the python object, right?
>> 
>> Not unless you add some machinery to do so explicitly.
>> 
>
> This is exactly what I did by storing bp:object inside A.

Yes

-- 
Dave Abrahams
BoostPro Computing
http://www.boostpro.com



More information about the Cplusplus-sig mailing list