Boost logo

Boost :

From: Sebastian Redl (sebastian.redl_at_[hidden])
Date: 2008-08-28 17:21:51

Michael Marcin wrote:
> Sebastian Redl wrote:
>> I think scoped_ptr should have a release(). It's technically
>> impossible to add a useful one to the refcounted smart pointers.
> It works for refcounted smart pointers iff p.unique() == true.
Well, the "useful" part of my post is a matter of opinion, of course,
but I can't think of a case where I would want a release() that might
fail, ergo it's not useful.


Boost list run by bdawes at, gregod at, cpdaniel at, john at