[C++-sig] Manage new object return policy (was Re: new to python; old to C++)

David Abrahams dave at boostpro.com
Mon Nov 10 23:05:19 CET 2008


on Mon Nov 10 2008, Paul Melis <paul-AT-pecm.nl> wrote:

> The FAQ entry on this doesn't really help, so perhaps I'm not using the return policy
> correctly or missing something else. The full test code (which is actually quite
> small) is attached.

Please reduce it to its absolute minimum.  Remove every single thing you
don't need in order to produce the result.  If the problem isn't
glaringly obvious to you then, I will help.

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


More information about the Cplusplus-sig mailing list