Re: [PATCH v2] libstdc++: C++23, implement WG21 P1679R3

2021-01-27 Thread Jonathan Wakely via Gcc-patches
On 27/01/21 12:40 +, Jonathan Wakely wrote: On 15/01/21 01:23 +, 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

Re: [PATCH v2] libstdc++: C++23, implement WG21 P1679R3

2021-01-27 Thread Jonathan Wakely via Gcc-patches
On 15/01/21 01:23 +, 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 v2] libstdc++: C++23, implement WG21 P1679R3

2021-01-14 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. Chan