[C++-sig] Re: manage_new_object using release() instead of delete

David Abrahams dave at boost-consulting.com
Tue May 11 09:11:34 CEST 2004


"Eric" <wstwej03 at sneakemail.com> writes:

> No offense intended. 

None taken.

> I was using class_value_wrapper based on a post in the
> mailing list archives detailing that as a step to wrap functions that return
> boost::shared_ptr. Is there a better way?

http://www.boost.org/libs/python/doc/v2/register_ptr_to_python.html
tells all.

HTH,

-- 
Dave Abrahams
Boost Consulting
http://www.boost-consulting.com





More information about the Cplusplus-sig mailing list