diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2024-07-24 18:08:03 +0100 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2024-07-25 11:53:06 +0100 |
commit | dca6a9a940e46d0c2d115a4702d648529a42efa9 (patch) | |
tree | dd884f4ceb56771c3463b4187bcddb45c14c5a30 /include/gdb/gdb-index.h | |
parent | 9ed070220ec1c837149f7b2eff7227f2e6b503e3 (diff) | |
download | gcc-dca6a9a940e46d0c2d115a4702d648529a42efa9.zip gcc-dca6a9a940e46d0c2d115a4702d648529a42efa9.tar.gz gcc-dca6a9a940e46d0c2d115a4702d648529a42efa9.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 'include/gdb/gdb-index.h')
0 files changed, 0 insertions, 0 deletions