diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2021-06-09 11:03:15 +0100 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2021-06-09 12:45:11 +0100 |
commit | b3fce1bd45f72cc9e55fb7431762e92e30fefcf1 (patch) | |
tree | e9e8777f0e650c27af48807ad3633ae015815550 /gcc/tree-vectorizer.h | |
parent | ec748dc7dd2d8ca39dc503b2a6dfbe172127cd13 (diff) | |
download | gcc-b3fce1bd45f72cc9e55fb7431762e92e30fefcf1.zip gcc-b3fce1bd45f72cc9e55fb7431762e92e30fefcf1.tar.gz gcc-b3fce1bd45f72cc9e55fb7431762e92e30fefcf1.tar.bz2 |
libstdc++: Fix constraint on std::optional assignment [PR 100982]
libstdc++-v3/ChangeLog:
PR libstdc++/100982
* include/std/optional (optional::operator=(const optional<U>&)):
Fix value category used in is_assignable check.
* testsuite/20_util/optional/assignment/100982.cc: New test.
Diffstat (limited to 'gcc/tree-vectorizer.h')
0 files changed, 0 insertions, 0 deletions