gcc/libstdc++-v3/testsuite
Ville Voutilainen fd231ad75a Implement LWG 2806, Base class of bad_optional_access.
* include/std/optional (bad_optional_access):
Derive from std::exception.
(bad_optional_access::bad_optional_access): Adjust.
(bad_optional_access::what): New.
(__throw_bad_optional_access(const char*)):
Remove the parameter and adjust calls.
* testsuite/20_util/optional/cons/value_neg.cc: Adjust.
* testsuite/20_util/optional/typedefs.cc: Likewise.

From-SVN: r246103
2017-03-13 20:03:30 +02:00
..
17_intro Fix libstdc++ reserved names test to pass on AIX 2017-03-10 15:29:49 +00:00
18_support Define std::byte for C++17 (P0298R3) 2017-03-09 15:42:02 +00:00
19_diagnostics
20_util Implement LWG 2806, Base class of bad_optional_access. 2017-03-13 20:03:30 +02:00
21_strings PR libstdc++/79254 simplify exception-safety in copy assignment 2017-02-01 11:41:48 +00:00
22_locale
23_containers Fix libstdc++ testsuite failures in C++98 and C++11 mode 2017-01-26 19:39:53 +00:00
24_iterators
25_algorithms PR78346 make <bits/predefined_ops.h> handle stashing iterators 2017-02-01 12:57:35 +00:00
26_numerics PR libstdc++/70607 make proj(T) and conj(T) return complex<T> 2017-01-25 15:01:05 +00:00
27_io PR libstdc++/66145 ensure new ABI for ios::failure tests 2017-02-03 19:26:51 +00:00
28_regex
29_atomics 69301.cc: Require atomic builtins. 2017-01-23 17:18:04 +00:00
30_threads Add std::scoped_lock for C++17 2017-03-05 18:38:35 +00:00
abi
backward
config
data
decimal
experimental Ensure <experimental/iterator> includes <iterator> 2017-02-23 18:25:22 +00:00
ext PR69240 Define inequality operators for <random> param types 2017-01-20 15:28:48 +00:00
lib Define cxx11-abi effective target for libstdc++ tests 2017-01-13 14:57:33 +00:00
libstdc++-abi
libstdc++-dg
libstdc++-prettyprinters Skip tests that are incompatible with Profile Mode 2017-01-14 11:55:22 +00:00
libstdc++-xmethods
performance
special_functions
tr1
tr2
util PR libstdc++/79254 fix exception-safety in std::string::operator= 2017-01-27 16:17:04 +00:00
Makefile.am
Makefile.in re PR other/79046 (g++ -print-file-name=plugin uses full version number in path) 2017-01-17 10:38:48 +01:00