diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2024-07-23 12:45:37 +0100 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2024-07-25 11:53:06 +0100 |
commit | 75618d2fd72ccc1c0d76646ef3bb03cb137afdd2 (patch) | |
tree | ca150c40b1b3ecae8d11b63988c4cef6465f6f74 /gcc/tree-vect-loop.cc | |
parent | dca6a9a940e46d0c2d115a4702d648529a42efa9 (diff) | |
download | gcc-75618d2fd72ccc1c0d76646ef3bb03cb137afdd2.zip gcc-75618d2fd72ccc1c0d76646ef3bb03cb137afdd2.tar.gz gcc-75618d2fd72ccc1c0d76646ef3bb03cb137afdd2.tar.bz2 |
libstdc++: Implement LWG 3836 for std::optional bool conversions
libstdc++-v3/ChangeLog:
* include/std/optional (optional): Constrain constructors to
prevent problematic bool conversions, as per LWG 3836.
* testsuite/20_util/optional/cons/lwg3836.cc: New test.
Diffstat (limited to 'gcc/tree-vect-loop.cc')
0 files changed, 0 insertions, 0 deletions