aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2023-08-18 00:24:46 +0100
committerJonathan Wakely <jwakely@redhat.com>2023-09-15 10:24:01 +0100
commit8fa1430bb28c775bb8b97c4337b0cd61db9f4d2e (patch)
treee27547621b440b5e28170d6f232fb2d0451100c6 /gcc
parent2d38f45bcca62ca0c7afef4b579f82c5c2a01610 (diff)
downloadgcc-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