6 Jul
2013
6 Jul
'13
12:08 a.m.
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.