Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2003-06-09 13:26:18


Raoul Gough wrote:
> Noticed from a recent posting to comp.lang.c++.moderated from KIM
> Seungbeom (musiphil_at_[hidden]):
>
> libs/smart_ptr/index.htm claims that "scoped_ptr can ease the
> management of memory dynamically allocated in other ways."
> (i.e. other than with a new expression). This isn't actually the case,
> AFAICS from the code. Also, libs/smart_ptr/scoped_ptr.htm explicitly
> says that ~scoped_ptr operates "as if by using delete this->get()".
>
> The index.htm should probably read "shared_ptr can ease the management
> ..." since shared_ptr allows a for user-supplied "deleter" functor.
>
> Should I go ahead and update libs/smart_ptr/index.htm in the CVS, or
> am I missing something?

Looking at the CVS history this looks like a typo and should indeed say
'shared_ptr'. Fixed, thanks for the report.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk