Subject: Re: [boost] [shared_array] Why not in C++11 ?
From: Jonathan Wakely (jwakely.boost_at_[hidden])
Date: 2013-07-05 20:08:52


On 6 July 2013 00:54, Sid Sacek wrote:
>>> Really? scoped_ptr, scoped_array and intrusive_ptr are part of the standard?
>
> I understand 'unique_ptr' is 'scoped_ptr' with just another name.

No, it's much better :-)

It's movable, so you can return it from functions, which is very
useful for factories and all sorts of sources and sinks. They're not
the same thing.