aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2022-11-15 13:59:51 +0000
committerJonathan Wakely <jwakely@redhat.com>2022-11-15 14:01:39 +0000
commita5d4f38fbe3bf71efd465d5260955bd6675765fd (patch)
treebff9cce1e7f2b221033c71102c35a62618940df2 /gcc
parentce86d9678b7f3d914133a035fbf8088504d8bad8 (diff)
downloadgcc-a5d4f38fbe3bf71efd465d5260955bd6675765fd.zip
gcc-a5d4f38fbe3bf71efd465d5260955bd6675765fd.tar.gz
gcc-a5d4f38fbe3bf71efd465d5260955bd6675765fd.tar.bz2
libstc++: std::formattable concept should not be defined for C++20
This concept was added by a C++23 proposal, so don't define it for C++20. Split the format/formatter/formatter.cc test into two parts, one that tests the C++20 requirements and one that tests the C++23 concept. libstdc++-v3/ChangeLog: * include/std/format (formattable): Only define for C++23/ * testsuite/std/format/formatter.cc: Moved to... * testsuite/std/format/formatter/requirements.cc: ...here. * testsuite/std/format/formatter/concept.cc: New test. * testsuite/std/format/functions/format.cc: Replace use of std::formattable in C++20.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions