Re: [PATCH] libstdc++: c++2b, implement WG21 P1679R3

2021-01-14 Thread Paul Fee via Gcc-patches
On Thu, Jan 14, 2021 at 5:06 PM Jonathan Wakely wrote: > > On 13/01/21 01:21 +, Paul Fee via Libstdc++ wrote: > >Add contains member function to basic_string_view and basic_string. > > > >The new method is enabled for -std=gnu++20, gnu++2b and c++2b. This allows > >users to access the method

Re: [PATCH] libstdc++: c++2b, implement WG21 P1679R3

2021-01-14 Thread Jonathan Wakely via Gcc-patches
On 13/01/21 01:21 +, Paul Fee via Libstdc++ wrote: Add contains member function to basic_string_view and basic_string. The new method is enabled for -std=gnu++20, gnu++2b and c++2b. This allows users to access the method as a GNU extension to C++20. The conditional test may be reduced to "

[PATCH] libstdc++: c++2b, implement WG21 P1679R3

2021-01-12 Thread Paul Fee via Gcc-patches
Add contains member function to basic_string_view and basic_string. The new method is enabled for -std=gnu++20, gnu++2b and c++2b. This allows users to access the method as a GNU extension to C++20. The conditional test may be reduced to "__cplusplus > 202011L" once GCC has a c++2b switch. libs