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

Marshall Clow via llvm-dev llvm-dev at lists.llvm.org
Tue Jan 24 14:34:16 PST 2017


On Mon, Jan 23, 2017 at 1:32 PM, Marshall Clow <mclow.lists at gmail.com>
wrote:

> The upcoming C++1z (probably C++17) standard will not contain several
> things - most notably auto_ptr.
>
> Soon, libc++ will not be providing auto_ptr by default when building in
> C++1z mode.
> You'll be able to get it back with a
> "-D_LIBCPP_ENABLE_CXX17_REMOVED_AUTO_PTR" on your command line, or
> "#define _LIBCPP_ENABLE_CXX17_REMOVED_AUTO_PTR" before including any
> libc++ header files.
>
>
Landed as revision 292986.

-- Marshall
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170124/82dc9404/attachment.html>


More information about the llvm-dev mailing list