From: Raoul Gough (RaoulGough_at_[hidden])
Date: 2003-06-09 07:02:57
Noticed from a recent posting to comp.lang.c++.moderated from KIM
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?
-- Raoul Gough "Let there be one measure for wine throughout our kingdom, and one measure for ale, and one measure for corn" - Magna Carta
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk