gcc/libstdc++-v3/testsuite
Jonathan Wakely d6ed6b074f PR libstdc++/85642 fix is_nothrow_default_constructible<optional<T>>
Add missing noexcept keyword to default constructor of each
_Optional_payload specialization.

	PR libstdc++/85642 fix is_nothrow_default_constructible<optional<T>>
	* include/std/optional (_Optional_payload): Add noexcept to default
	constructor. Re-indent.
	(_Optional_payload<_Tp, true, true, true>): Likewise. Add noexcept to
	constructor for copying disengaged payloads.
	(_Optional_payload<_Tp, true, false, true>): Likewise.
	(_Optional_payload<_Tp, true, true, false>): Likewise.
	(_Optional_payload<_Tp, true, false, false>): Likewise.
	* testsuite/20_util/optional/cons/85642.cc: New.
	* testsuite/20_util/optional/cons/value_neg.cc: Adjust dg-error lines.

From-SVN: r259928
2018-05-04 09:57:23 +01:00
..
17_intro * testsuite/17_intro/names.cc: Undefine 'y' on SPARC/Linux. 2018-01-16 20:40:09 +00:00
18_support PR libstdc++/84773 use aligned alloc functions for FreeBSD and MinGW cross-compilers 2018-03-12 22:52:16 +00:00
19_diagnostics Update copyright years. 2018-01-03 11:03:58 +01:00
20_util PR libstdc++/85642 fix is_nothrow_default_constructible<optional<T>> 2018-05-04 09:57:23 +01:00
21_strings PR libstdc++/84087 add default arguments to basic_string members (LWG 2268) 2018-05-03 16:01:20 +01:00
22_locale Update copyright years. 2018-01-03 11:03:58 +01:00
23_containers deque.tcc (deque<>::_M_assign_aux): Cast to void to ensure overloaded comma not used. 2018-05-02 19:51:33 +00:00
24_iterators Update copyright years. 2018-01-03 11:03:58 +01:00
25_algorithms Update copyright years. 2018-01-03 11:03:58 +01:00
26_numerics PR libstdc++/83860 avoid dangling references in valarray closure types 2018-05-02 17:41:46 +01:00
27_io PR libstdc++/85632 fix wraparound in filesystem::space 2018-05-03 19:58:00 +01:00
28_regex re PR libstdc++/83601 (std::regex_replace C++14 conformance issue: escaping in SED mode) 2018-01-14 00:48:30 +00:00
29_atomics Update copyright years. 2018-01-03 11:03:58 +01:00
30_threads PR libstdc++/84535 constrain std::thread constructor 2018-05-03 15:08:36 +01:00
abi Update copyright years. 2018-01-03 11:03:58 +01:00
backward Remove duplicate function call in test 2018-05-02 17:27:01 +01:00
config Update copyright years. 2018-01-03 11:03:58 +01:00
data
decimal Update copyright years. 2018-01-03 11:03:58 +01:00
experimental PR libstdc++/85632 fix wraparound in filesystem::space 2018-05-03 19:58:00 +01:00
ext [libstdc++][testsuite] Fix dg-options/dg-add-options order 2018-01-19 11:17:34 +01:00
lib Update copyright years. 2018-01-03 11:03:58 +01:00
libstdc++-abi Update copyright years. 2018-01-03 11:03:58 +01:00
libstdc++-dg Update copyright years. 2018-01-03 11:03:58 +01:00
libstdc++-prettyprinters printers.py (NodeIteratorPrinter): New. 2018-03-08 06:26:15 +00:00
libstdc++-xmethods Update copyright years. 2018-01-03 11:03:58 +01:00
performance Update copyright years. 2018-01-03 11:03:58 +01:00
special_functions [libstdc++][testsuite] Fix dg-options/dg-add-options order 2018-01-19 11:17:34 +01:00
tr1 PR libstdc++/82644 define TR1 hypergeometric functions in strict modes 2018-05-03 23:58:43 +01:00
tr2 Update copyright years. 2018-01-03 11:03:58 +01:00
util Update copyright years. 2018-01-03 11:03:58 +01:00
Makefile.am Update copyright years. 2018-01-03 11:03:58 +01:00
Makefile.in Enable building libstdc++-v3 with Intel CET 2017-11-17 22:28:10 +01:00