diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2022-10-18 21:20:06 +0100 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2022-11-13 01:10:44 +0000 |
commit | 1d9454aba615eadd0d85c93713dd848227345f67 (patch) | |
tree | f2b2f1e038a1fe90ea5b4058dec236d47c26c991 /gcc/fortran | |
parent | d4ba3b369cbe9bce0a1212670825ecfb99762520 (diff) | |
download | gcc-1d9454aba615eadd0d85c93713dd848227345f67.zip gcc-1d9454aba615eadd0d85c93713dd848227345f67.tar.gz gcc-1d9454aba615eadd0d85c93713dd848227345f67.tar.bz2 |
libstdc++: Implement C++20 <format> [PR104166]
This doesn't add the newer C++23 features like formatting ranges
and escaped string prsentation types.
However, C++23 extended floating-point types are supported, as are
128-bit integers.
It could do with more tests.
libstdc++-v3/ChangeLog:
PR libstdc++/104166
* include/Makefile.am (std_headers): Add <format>.
* include/Makefile.in: Regenerate.
* include/precompiled/stdc++.h: Add <format>.
* include/std/format: New file.
* python/libstdcxx/v6/printers.py (StdFormatArgsPrinter): New
printer for std::format_args.
* testsuite/std/format/arguments/args.cc: New test.
* testsuite/std/format/error.cc: New test.
* testsuite/std/format/formatter.cc: New test.
* testsuite/std/format/functions/format.cc: New test.
* testsuite/std/format/functions/format_to_n.cc: New test.
* testsuite/std/format/functions/size.cc: New test.
* testsuite/std/format/functions/vformat_to.cc: New test.
* testsuite/std/format/parse_ctx.cc: New test.
* testsuite/std/format/string.cc: New test.
* testsuite/std/format/string_neg.cc: New test.
Diffstat (limited to 'gcc/fortran')
0 files changed, 0 insertions, 0 deletions