diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2024-01-07 23:14:31 +0000 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2024-01-08 01:14:51 +0000 |
commit | cddaff46adfd831d4836f29dc5e21f73eaed37b3 (patch) | |
tree | 9f97291f576333852cc2ae98dd8d65aab3203bab /gcc/tree-vect-loop.cc | |
parent | 2a8ee2592e48735d88df786cbafa6b0da39fc4d6 (diff) | |
download | gcc-cddaff46adfd831d4836f29dc5e21f73eaed37b3.zip gcc-cddaff46adfd831d4836f29dc5e21f73eaed37b3.tar.gz gcc-cddaff46adfd831d4836f29dc5e21f73eaed37b3.tar.bz2 |
libstdc++: Implement P2918R0 "Runtime format strings II" for C++26
This adds std::runtime_format for C++26. These new overloaded functions
enhance the std::format API so that it isn't necessary to use the less
ergonomic std::vformat and std::make_format_args (which are meant to be
implementation details). This was approved in Kona 2023 for C++26.
libstdc++-v3/ChangeLog:
* include/std/format (__format::_Runtime_format_string): Define
new class template.
(basic_format_string): Add non-consteval constructor for runtime
format strings.
(runtime_format): Define new function for C++26.
* testsuite/std/format/runtime_format.cc: New test.
Diffstat (limited to 'gcc/tree-vect-loop.cc')
0 files changed, 0 insertions, 0 deletions