Re: [PATCH] Deprecate std::get_temporary_buffer

2018-08-14 Thread Ville Voutilainen
On 14 August 2018 at 23:34, Jonathan Wakely wrote: > This was deprecated in C++17, and has been removed from the current > draft. This adds the dprecated attribute for C++17 and later. > > We can't actually remove it for C++2a because we use it (indirectly) > in stl_algo.h. We could rename it to _

[PATCH] Deprecate std::get_temporary_buffer

2018-08-14 Thread Jonathan Wakely
This was deprecated in C++17, and has been removed from the current draft. This adds the dprecated attribute for C++17 and later. We can't actually remove it for C++2a because we use it (indirectly) in stl_algo.h. We could rename it to __get_temporary_buffer for our internal uses, and then add ba