aboutsummaryrefslogtreecommitdiff
path: root/libcpp
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2024-07-24 18:08:03 +0100
committerThomas Koenig <tkoenig@gcc.gnu.org>2024-07-28 19:05:56 +0200
commitab1a0e683d8a10bcd59aab38e44bbce57c35bb49 (patch)
tree864d7a1db367f16f45a14de0448cf100ff9eb2e2 /libcpp
parenta9273a2991a74421f4627145f520a1eaf37736c7 (diff)
downloadgcc-ab1a0e683d8a10bcd59aab38e44bbce57c35bb49.zip
gcc-ab1a0e683d8a10bcd59aab38e44bbce57c35bb49.tar.gz
gcc-ab1a0e683d8a10bcd59aab38e44bbce57c35bb49.tar.bz2
libstdc++: Implement LWG 3836 for std::expected bool conversions
libstdc++-v3/ChangeLog: * include/std/expected (expected): Constrain constructors to prevent problematic bool conversions, as per LWG 3836. * testsuite/20_util/expected/lwg3836.cc: New test.
Diffstat (limited to 'libcpp')
0 files changed, 0 insertions, 0 deletions