
30 Mar
2006
30 Mar
'06
3:17 a.m.
"Peter Dimov" <pdimov@mmltd.net> writes:
David Abrahams wrote:
Just in case it wasn't obvious: we should do this across all the smart pointers. It looks like scoped_ptr could use the same treatment, for example.
scoped_ptr already takes its auto_ptr argument by value, so it doesn't need a separate rvalue overload. There should be no need to make the constructor implicit since a scoped_ptr cannot be used as a function argument because of its noncopyability.
Duh. Thanks for setting me straight. -- Dave Abrahams Boost Consulting www.boost-consulting.com