mirror of
https://github.com/gcc-mirror/gcc.git
synced 2026-05-06 23:25:24 +02:00
Last week in Croydon we approved P3953R3 to rename std::runtime_format for C++26. The rationale is that with compile-time std::format, the name std::runtime_format doesn't make sense. It's std::dynamic_format now instead. libstdc++-v3/ChangeLog: * include/bits/chrono_io.h (__formatter_chrono::_S_empty_fs) (__formatter_chrono::_M_C_y_Y, __formatter_chrono::_M_D_x) (__formatter_chrono::_M_F, __formatter_chrono::_M_subsecs) (__formatter_chrono_info::_M_format_to): Use _Dynamic_format_string instead of _Runtime_format_string. * include/bits/version.def (format): Bump value. * include/bits/version.h: Regenerate. * include/std/format (_Runtime_format_string): Rename to _Dynamic_format_string. (runtime_format): Rename to dynamic_format. * include/std/print (println): Adjust comment to refer to dynamic_format instead of runtime_format. * testsuite/std/format/runtime_format.cc: Move to... * testsuite/std/format/dynamic_format.cc: ...here. Reviewed-by: Tomasz Kamiński <tkaminsk@redhat.com>