]> gcc.gnu.org Git - gcc.git/commit
libstdc++: Ensure std::to_chars overloads all declared in <format> [PR107720]
authorJonathan Wakely <jwakely@redhat.com>
Wed, 16 Nov 2022 20:47:39 +0000 (20:47 +0000)
committerJonathan Wakely <jwakely@redhat.com>
Thu, 17 Nov 2022 00:34:42 +0000 (00:34 +0000)
commitf69a8299c1d95548e1539227fb7b8f5581aeb29b
tree630b7bd6f9dae3836c246b3a63b0e5ece804ca49
parent80909529c9a2fc0aa0ccc285da2c9cc233c04aa7
libstdc++: Ensure std::to_chars overloads all declared in <format> [PR107720]

For powerpc64le we need to be able to format both of __ieee128 and
__ibm128, so we need the std::to_chars overloads for both types to be
visible at once. The __ieee128 overloads are always visible in C++23
mode, because they're used to implement the _Float128 overloads. The
__ibm128 overloads are only visible when long double is __ibm128.

libstdc++-v3/ChangeLog:

PR libstdc++/107720
* include/std/format [_GLIBCXX_LONG_DOUBLE_ALT128_COMPAT]:
Declare overloads of std::to_chars for the alternative long
double type.
libstdc++-v3/include/std/format
This page took 0.055586 seconds and 5 git commands to generate.