gcc/libstdc++-v3/include
Jonathan Wakely 0e19dc8582 libstdc++: Only define basic_string::contains for C++23
The new contains member of the COW string is defined for non-strict
gnu++20 mode as well as for C++23 modes. I think that was left in the
committed patch unintentionally. It is inconsistent with the SSO string,
and doesn't actually compile because it uses the
basic_string_view::contains member which only defined for C++23.

This makes it only defined for C++23.

Signed-off-by: Jonathan Wakely <jwakely@redhat.com>

libstdc++-v3/ChangeLog:

	* include/bits/basic_string.h (basic_string::contains): Do not
	define for -std=gnu++20.

(cherry picked from commit 3b3f2f7c26)
2021-08-24 15:16:13 +01:00
..
backward
bits libstdc++: Only define basic_string::contains for C++23 2021-08-24 15:16:13 +01:00
c
c_compatibility
c_global libstdc++: Add nodiscard attribute to cast-like functions 2021-04-06 16:43:25 +01:00
c_std
debug libstdc++: Use __builtin_unreachable for constexpr assertions [PR 100676] 2021-06-02 14:43:20 +01:00
decimal
experimental libstdc++: Use <sys/socket.h> features conditionally [PR 100285] 2021-08-24 15:13:18 +01:00
ext libstdc++: Improvements to Doxygen markup 2021-08-11 15:30:37 +01:00
parallel
precompiled
pstl
std libstdc++: Add default template argument to basic_istream_view 2021-08-23 17:02:53 +01:00
tr1 libstdc++: Fix even more doxygen markup for group close commands 2021-04-09 13:09:23 +01:00
tr2
Makefile.am libstdc++: Refactor/cleanup of C++20 atomic wait implementation 2021-04-20 15:27:02 +01:00
Makefile.in libstdc++: Refactor/cleanup of C++20 atomic wait implementation 2021-04-20 15:27:02 +01:00