aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2024-07-30 20:09:12 +0200
committerJonathan Wakely <redi@gcc.gnu.org>2024-10-25 10:23:56 +0100
commit813afa280cc130d6d01a4b8294db19965956a3f9 (patch)
treef1255787b3b3ec5b9a4eabae31ae5d0ce041cb45 /gcc
parent967939055cee4a34729f795042977d99535e061a (diff)
downloadgcc-813afa280cc130d6d01a4b8294db19965956a3f9.zip
gcc-813afa280cc130d6d01a4b8294db19965956a3f9.tar.gz
gcc-813afa280cc130d6d01a4b8294db19965956a3f9.tar.bz2
libstdc++: implement concatenation of strings and string_views
This adds support for P2591R5, merged for C++26. libstdc++-v3/ChangeLog: * include/bits/basic_string.h: Implement the four operator+ overloads between basic_string and (types convertible to) basic_string_view. * include/bits/version.def: Bump the feature-testing macro. * include/bits/version.h: Regenerate. * testsuite/21_strings/basic_string/operators/char/op_plus_fspath_neg.cc: New test. * testsuite/21_strings/basic_string/operators/char/op_plus_string_view.cc: New test. * testsuite/21_strings/basic_string/operators/char/op_plus_string_view_compat.cc: New test. Signed-off-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions