diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2023-08-18 00:24:46 +0100 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2023-09-15 10:24:01 +0100 |
commit | 8fa1430bb28c775bb8b97c4337b0cd61db9f4d2e (patch) | |
tree | e27547621b440b5e28170d6f232fb2d0451100c6 /gcc | |
parent | 2d38f45bcca62ca0c7afef4b579f82c5c2a01610 (diff) | |
download | gcc-8fa1430bb28c775bb8b97c4337b0cd61db9f4d2e.zip gcc-8fa1430bb28c775bb8b97c4337b0cd61db9f4d2e.tar.gz gcc-8fa1430bb28c775bb8b97c4337b0cd61db9f4d2e.tar.bz2 |
libstdc++: Add operator bool to <charconv> result types (P2497R0)
C++26 adds these convenience conversions.
libstdc++-v3/ChangeLog:
* include/bits/version.def (to_chars): Define new value for
C++26.
* include/bits/version.h: Regenerate.
* include/std/charconv (to_chars_result::operator bool): New
function.
(from_chars_result::operator bool): New function.
* testsuite/20_util/to_chars/version.cc: Update expected value.
* testsuite/20_util/from_chars/result.cc: New test.
* testsuite/20_util/to_chars/result.cc: New test.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions