[llvm-dev] Upcoming removal of std::auto_ptr (in C++1z)

Roel Jordans via llvm-dev llvm-dev at lists.llvm.org
Tue Jan 24 01:43:43 PST 2017


On 24-01-17 02:34, Stephen Checkoway via llvm-dev wrote:
>> On Jan 23, 2017, at 15:32, Marshall Clow via llvm-dev <llvm-dev at lists.llvm.org> wrote:
>>
>> The upcoming C++1z (probably C++17) standard will not contain several things - most notably auto_ptr.
> Purely for my own edification, is the rationale for this available somewhere?
According to [1] it has been deprecated since C++11 and using unique_ptr 
should be prefered.

Cheers,
  Roel

[1] http://www.cplusplus.com/reference/memory/auto_ptr/


More information about the llvm-dev mailing list