gcc/libstdc++-v3
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
..
config
doc libstdc++: Move status table entry to be with other ranges papers 2021-08-19 15:06:47 +01:00
include libstdc++: Only define basic_string::contains for C++23 2021-08-24 15:16:13 +01:00
libsupc++ libstdc++: Implement LWG 3465 for std::compare_partial_order_fallback [PR101056] 2021-08-11 15:30:38 +01:00
po
python libstdc++: Fix installation of python hooks [PR 99453] 2021-06-02 14:43:19 +01:00
scripts
src libstdc++: Fix create_directories to resolve symlinks [PR101510] 2021-08-11 15:30:38 +01:00
testsuite libstdc++: Implement LWG 3422 for std::seed_seq 2021-08-24 15:13:18 +01:00
acinclude.m4
aclocal.m4
ChangeLog Daily bump. 2021-08-24 00:18:52 +00:00
ChangeLog-1998
ChangeLog-1999
ChangeLog-2000
ChangeLog-2001
ChangeLog-2002
ChangeLog-2003
ChangeLog-2004
ChangeLog-2005
ChangeLog-2006
ChangeLog-2007
ChangeLog-2008
ChangeLog-2009
ChangeLog-2010
ChangeLog-2011
ChangeLog-2012
ChangeLog-2013
ChangeLog-2014
ChangeLog-2015
ChangeLog-2016
ChangeLog-2017
ChangeLog-2018
ChangeLog-2019
ChangeLog-2020
config.h.in
configure
configure.ac
configure.host
crossconfig.m4
fragment.am
linkage.m4
Makefile.am
Makefile.in
README

file: libstdc++-v3/README

New users may wish to point their web browsers to the file
index.html in the 'doc/html' subdirectory.  It contains brief
building instructions and notes on how to configure the library in
interesting ways.