Boost logo

Boost :

From: Beman Dawes (beman_at_[hidden])
Date: 2000-11-02 14:28:25


Robert Vugts wrote:

>I was referring to the shared_ptr constructor,
>which takes a std::auto_ptr<T> argument.
>
>This constructor is not declared explicit and I was
>wondering why.

I think is was just an oversight. It should be explicit. Having an
auto_ptr lose ownership via implicit conversion is just too kinky, IMO.

CVS changed.

--Beman


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