|
Boost : |
From: Gennadiy Rozental (rogeeff_at_[hidden])
Date: 2002-04-28 18:04:21
"Andrei Alexandrescu" <andrewalex_at_[hidden]> wrote in message
news:aahe7n$59h$1_at_main.gmane.org...
> "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
>
>
After some thinking I agree now with original Loki::SmartPtr support for
auto_ptr. So consider my comments invalid.
Gennadiy.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk