From: Peter Dimov (pdimov_at_[hidden])
Date: 2001-04-09 08:22:20
> From: "Beman Dawes" <bdawes_at_[hidden]>
> > The primary reason to use scoped_ptr rather than auto_ptr is to let
> > of your code know that you intend "resource acquisition is
> > to be applied only for the current scope, and have no intent to
> > ownership.
After thinking about this a bit more, "std::auto_ptr<T> const" looks
equivalent to boost::scoped_ptr<T>.
-- Peter Dimov Multi Media Ltd.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk