Re: [PATCH] Replace gnu::unique_ptr with std::unique_ptr

2021-12-10 Thread Jonathan Wakely via Gcc-patches
On 10/12/21 21:20 +, Jonathan Wakely wrote: Ping Oh sorry, Jakub already replied to this (after I mentioned it on IRC) and approved it. Un-ping! On 09/11/21 17:51 +, Jonathan Wakely wrote: Now that GCC is compiled as C++11 there is no need to keep the C++03 implementation of

Re: [PATCH] Replace gnu::unique_ptr with std::unique_ptr

2021-12-10 Thread Jonathan Wakely via Gcc-patches
Ping On 09/11/21 17:51 +, Jonathan Wakely wrote: Now that GCC is compiled as C++11 there is no need to keep the C++03 implementation of gnu::unique_ptr. This removes the unique-ptr.h header and replaces it with in system.h, and changes the INCLUDE_UNIQUE_PTR macro to INCLUDE_MEMORY. Uses

Re: [PATCH] Replace gnu::unique_ptr with std::unique_ptr

2021-12-10 Thread Jakub Jelinek via Gcc-patches
On Tue, Nov 09, 2021 at 05:51:27PM +, Jonathan Wakely via Gcc-patches wrote: > Now that GCC is compiled as C++11 there is no need to keep the C++03 > implementation of gnu::unique_ptr. > > This removes the unique-ptr.h header and replaces it with in > system.h, and changes the

[PATCH] Replace gnu::unique_ptr with std::unique_ptr

2021-11-09 Thread Jonathan Wakely via Gcc-patches
Now that GCC is compiled as C++11 there is no need to keep the C++03 implementation of gnu::unique_ptr. This removes the unique-ptr.h header and replaces it with in system.h, and changes the INCLUDE_UNIQUE_PTR macro to INCLUDE_MEMORY. Uses of gnu::unique_ptr and gnu::move can be replaced with