]> git.ipfire.org Git - thirdparty/gcc.git/commit
libstdc++: Disable std::formatter::set_debug_format [PR112832]
authorJonathan Wakely <jwakely@redhat.com>
Mon, 4 Dec 2023 12:03:28 +0000 (12:03 +0000)
committerJonathan Wakely <jwakely@redhat.com>
Wed, 6 Dec 2023 09:47:27 +0000 (09:47 +0000)
commitd40796e3813fdf646ca7b7ce9630d5cc121353b4
tree8a1951f0854fce7073635b8ff896a39fcf03ba9c
parentca233ac9ba085e2acd385bda6a778684a0c96694
libstdc++: Disable std::formatter::set_debug_format [PR112832]

All set_debug_format member functions should be guarded by the
__cpp_lib_formatting_ranges macro (which is not defined yet).

libstdc++-v3/ChangeLog:

PR libstdc++/112832
* include/std/format (formatter::set_debug_format): Ensure this
member is defined conditionally for all specializations.
* testsuite/std/format/formatter/112832.cc: New test.

(cherry picked from commit 3cd73543a1122d3c81409e3e9a26c3e94c3d324f)
libstdc++-v3/include/std/format
libstdc++-v3/testsuite/std/format/formatter/112832.cc [new file with mode: 0644]