libstdc++: Disable std::formatter::set_debug_format [PR112832]
commit3cd73543a1122d3c81409e3e9a26c3e94c3d324f
authorJonathan Wakely <jwakely@redhat.com>
Mon, 4 Dec 2023 12:03:28 +0000 (4 12:03 +0000)
committerJonathan Wakely <jwakely@redhat.com>
Tue, 5 Dec 2023 16:40:43 +0000 (5 16:40 +0000)
tree48a2161f3fda8163ed573962164549bbba200511
parent9fff752695648b06a977b046990d69d41a1bf702
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.
libstdc++-v3/include/std/format
libstdc++-v3/testsuite/std/format/formatter/112832.cc [new file with mode: 0644]