Go to file
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
c++tools Update ChangeLog and version files for release 2021-07-28 06:55:28 +00:00
config Update ChangeLog and version files for release 2021-07-28 06:55:28 +00:00
contrib Update ChangeLog and version files for release 2021-07-28 06:55:28 +00:00
fixincludes Update ChangeLog and version files for release 2021-07-28 06:55:28 +00:00
gcc arm: Add tests for VLLDM mitigation [PR102035] 2021-08-24 14:25:51 +01:00
gnattools Update ChangeLog and version files for release 2021-07-28 06:55:28 +00:00
gotools Update ChangeLog and version files for release 2021-07-28 06:55:28 +00:00
include Update ChangeLog and version files for release 2021-07-28 06:55:28 +00:00
INSTALL
intl Update ChangeLog and version files for release 2021-07-28 06:55:28 +00:00
libada Update ChangeLog and version files for release 2021-07-28 06:55:28 +00:00
libatomic Update ChangeLog and version files for release 2021-07-28 06:55:28 +00:00
libbacktrace Update ChangeLog and version files for release 2021-07-28 06:55:28 +00:00
libcc1 Update ChangeLog and version files for release 2021-07-28 06:55:28 +00:00
libcody Update ChangeLog and version files for release 2021-07-28 06:55:28 +00:00
libcpp Daily bump. 2021-08-17 00:18:10 +00:00
libdecnumber Update ChangeLog and version files for release 2021-07-28 06:55:28 +00:00
libffi Update ChangeLog and version files for release 2021-07-28 06:55:28 +00:00
libgcc arm: add erratum mitigation to __gnu_cmse_nonsecure_call [PR102035] 2021-08-24 14:25:51 +01:00
libgfortran Update ChangeLog and version files for release 2021-07-28 06:55:28 +00:00
libgo
libgomp Update ChangeLog and version files for release 2021-07-28 06:55:28 +00:00
libhsail-rt Update ChangeLog and version files for release 2021-07-28 06:55:28 +00:00
libiberty Update ChangeLog and version files for release 2021-07-28 06:55:28 +00:00
libitm Update ChangeLog and version files for release 2021-07-28 06:55:28 +00:00
libobjc Update ChangeLog and version files for release 2021-07-28 06:55:28 +00:00
liboffloadmic Update ChangeLog and version files for release 2021-07-28 06:55:28 +00:00
libphobos Update ChangeLog and version files for release 2021-07-28 06:55:28 +00:00
libquadmath Update ChangeLog and version files for release 2021-07-28 06:55:28 +00:00
libsanitizer Daily bump. 2021-08-13 00:18:24 +00:00
libssp Update ChangeLog and version files for release 2021-07-28 06:55:28 +00:00
libstdc++-v3 libstdc++: Only define basic_string::contains for C++23 2021-08-24 15:16:13 +01:00
libvtv Update ChangeLog and version files for release 2021-07-28 06:55:28 +00:00
lto-plugin Update ChangeLog and version files for release 2021-07-28 06:55:28 +00:00
maintainer-scripts Update ChangeLog and version files for release 2021-07-28 06:55:28 +00:00
zlib Update ChangeLog and version files for release 2021-07-28 06:55:28 +00:00
.dir-locals.el
.gitattributes
.gitignore
ABOUT-NLS
ar-lib
ChangeLog Update ChangeLog and version files for release 2021-07-28 06:55:28 +00:00
ChangeLog.jit
ChangeLog.tree-ssa
compile
config-ml.in
config.guess
config.rpath
config.sub
configure
configure.ac
COPYING
COPYING3
COPYING3.LIB
COPYING.LIB
COPYING.RUNTIME
depcomp
install-sh
libtool-ldflags
libtool.m4
lt~obsolete.m4
ltgcc.m4
ltmain.sh
ltoptions.m4
ltsugar.m4
ltversion.m4
MAINTAINERS
Makefile.def
Makefile.in
Makefile.tpl
missing
mkdep
mkinstalldirs
move-if-change
multilib.am
README
symlink-tree
test-driver
ylwrap

This directory contains the GNU Compiler Collection (GCC).

The GNU Compiler Collection is free software.  See the files whose
names start with COPYING for copying permission.  The manuals, and
some of the runtime libraries, are under different terms; see the
individual source files for details.

The directory INSTALL contains copies of the installation information
as HTML and plain text.  The source of this information is
gcc/doc/install.texi.  The installation information includes details
of what is included in the GCC sources and what files GCC installs.

See the file gcc/doc/gcc.texi (together with other files that it
includes) for usage and porting information.  An online readable
version of the manual is in the files gcc/doc/gcc.info*.

See http://gcc.gnu.org/bugs/ for how to report bugs usefully.

Copyright years on GCC source files may be listed using range
notation, e.g., 1987-2012, indicating that every year in the range,
inclusive, is a copyrightable year that could otherwise be listed
individually.