aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/st.c
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2021-08-16 20:42:54 +0100
committerJonathan Wakely <jwakely@redhat.com>2021-08-17 14:22:50 +0100
commit3b3f2f7c265ef9f176cb811a8049b24538d954d9 (patch)
treee20934865ab3033159b02564d0d6bf2ab08c5829 /gcc/fortran/st.c
parentc09cabb239179fcc8ed70f033f214d98a49eb378 (diff)
downloadgcc-3b3f2f7c265ef9f176cb811a8049b24538d954d9.zip
gcc-3b3f2f7c265ef9f176cb811a8049b24538d954d9.tar.gz
gcc-3b3f2f7c265ef9f176cb811a8049b24538d954d9.tar.bz2
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/cow_string.h (basic_string::contains): Do not define for -std=gnu++20.
Diffstat (limited to 'gcc/fortran/st.c')
0 files changed, 0 insertions, 0 deletions