diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2020-06-09 22:13:37 +0100 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2020-06-09 22:14:43 +0100 |
commit | d3647057913d3671312a79a77be02fc459d89fb6 (patch) | |
tree | 400c5265699f233b5f45d57b2ff2584b1282bf28 /gcc | |
parent | d7274dbf82001ae52e5c9a514129b49152498d40 (diff) | |
download | gcc-d3647057913d3671312a79a77be02fc459d89fb6.zip gcc-d3647057913d3671312a79a77be02fc459d89fb6.tar.gz gcc-d3647057913d3671312a79a77be02fc459d89fb6.tar.bz2 |
libstdc++: Define std::bad_optional_access constructor as defaulted
The standard requires that std::bad_optional_access' default
constructor has a non-throwing exception specification.
* include/std/optional (bad_optional_access): Define default
constructor and destructor as defaulted.
* testsuite/20_util/optional/bad_access.cc: New test.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions