From: Markus Schöpflin (markus.schoepflin_at_[hidden])
Date: 2002-06-18 06:43:34
David Abrahams wrote:
> That's not actually equivalent if you are passing multiple arguments. In
> case of an exception, the unmanaged memory may leak.
I think this is the killer argument to change scoped_ptr. When I originally
proposed the change I didn't even think of this.
> I support the change to scoped_ptr.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk