From: Anthony Williams (anthwil_at_[hidden])
Date: 2002-09-25 03:23:18
Greg Colvin writes:
> At 05:51 PM 9/24/2002, you wrote:
> >Me too. I'm a big fan of scoped_ptr. Making it "more powerful" will make it less useful.
> Yep. I don't even like it having reset.
Reset is useful, so you can have a scoped_ptr as a class member which may or
may not own a resource. If the resource is owned, it dies with the class, and
is not transfered out anywhere. This can be useful for caching.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk