From: Andrei Alexandrescu (andrewalex_at_[hidden])
Date: 2002-04-19 16:46:09
"Peter Dimov" <pdimov_at_[hidden]> wrote in message
> Seriously, we shouldn't design to beliefs. You must have acquired some
> experience with SmartPtr by now that answers the question. IOW does
> use a pointer type different from value_type*? And if so, is "SmartPtr"
> appropriate name of the class?
PointerType is defined to let the user use a secondary (recursive) smart
pointer inside the Storage policy. That secondary smart pointer might, for
example, perform locking and unlocking.
I haven't personally used that feature, but I do think it is useful. Maybe
Gennady could chime in.
I think SmartPtr is the appropriate name because the vast majority of uses
are just that.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk