Boost logo

Boost :

From: Andrei Alexandrescu (andrewalex_at_[hidden])
Date: 2002-04-28 13:13:06


"Beman Dawes" <bdawes_at_[hidden]> wrote in message
news:4.3.2.7.2.20020428084024.00ce4f00_at_mailhost.esva.net...
> At 06:18 PM 4/19/02 -0700, Andrei Alexandrescu wrote:
> >This constructor was carefully designed (read: hacked for many
nights) to
> >fully emulate the std::auto_ptr design (read: amazingly
intelligent
> hack).
> >I suggest we keep it so that smart_ptr remains a borg that
swallows all
> >other pointers, auto_ptr included :o).
>
> That's a reasonable objective, but only if it can be done without
seriously
> distorting the rest of the design.

Well, then the design was distorted from the get-go: emulation of
auto_ptr was one of the requirements for Loki::SmartPtr.

Andrei


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