diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2022-11-15 13:59:51 +0000 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2022-11-15 14:01:39 +0000 |
commit | a5d4f38fbe3bf71efd465d5260955bd6675765fd (patch) | |
tree | bff9cce1e7f2b221033c71102c35a62618940df2 /gcc | |
parent | ce86d9678b7f3d914133a035fbf8088504d8bad8 (diff) | |
download | gcc-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