aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2022-10-18 21:20:06 +0100
committerJonathan Wakely <jwakely@redhat.com>2022-11-13 01:10:44 +0000
commit1d9454aba615eadd0d85c93713dd848227345f67 (patch)
treef2b2f1e038a1fe90ea5b4058dec236d47c26c991 /gcc
parentd4ba3b369cbe9bce0a1212670825ecfb99762520 (diff)
downloadgcc-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')
0 files changed, 0 insertions, 0 deletions