Re: [PATCH] Remove redundant std::allocator members for C++20

2019-10-23 Thread Jonathan Wakely
On 22/10/19 23:09 +0100, Jonathan Wakely wrote: On 22/10/19 22:40 +0100, Jonathan Wakely wrote: C++20 removes a number of std::allocator members that have correct defaults provided by std::allocator_traits, so aren't needed. Several extensions including __gnu_cxx::hash_map and tr1 containers ar

Re: [PATCH] Remove redundant std::allocator members for C++20

2019-10-22 Thread Jonathan Wakely
On 22/10/19 22:40 +0100, Jonathan Wakely wrote: C++20 removes a number of std::allocator members that have correct defaults provided by std::allocator_traits, so aren't needed. Several extensions including __gnu_cxx::hash_map and tr1 containers are no longer usable with std::allocator in C++20 m

[PATCH] Remove redundant std::allocator members for C++20

2019-10-22 Thread Jonathan Wakely
C++20 removes a number of std::allocator members that have correct defaults provided by std::allocator_traits, so aren't needed. Several extensions including __gnu_cxx::hash_map and tr1 containers are no longer usable with std::allocator in C++20 mode. They need to be updated to use __gnu_cxx::__