gcc/libstdc++-v3/include/std
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
..
algorithm Update copyright years. 2018-01-03 11:03:58 +01:00
any Define std::remove_cvref and std::remove_cvref_t for C++2a 2018-05-03 13:40:10 +01:00
array Update copyright years. 2018-01-03 11:03:58 +01:00
atomic Update copyright years. 2018-01-03 11:03:58 +01:00
bitset re PR libstdc++/84998 (std::hash<std::bitset<N>> fails in Debug Mode) 2018-03-20 21:45:14 +00:00
charconv Update copyright years. 2018-01-03 11:03:58 +01:00
chrono Update copyright years. 2018-01-03 11:03:58 +01:00
codecvt Update copyright years. 2018-01-03 11:03:58 +01:00
complex Update copyright years. 2018-01-03 11:03:58 +01:00
condition_variable Update copyright years. 2018-01-03 11:03:58 +01:00
deque Update copyright years. 2018-01-03 11:03:58 +01:00
filesystem Update copyright years. 2018-01-03 11:03:58 +01:00
forward_list Update copyright years. 2018-01-03 11:03:58 +01:00
fstream Update copyright years. 2018-01-03 11:03:58 +01:00
functional PR libstdc++/83607 specialize Boyer-Moore searchers for std::byte 2018-01-04 10:21:29 +00:00
future Use std::invoke_result in std::async instead of std::result_of 2018-05-03 13:40:15 +01:00
iomanip Update copyright years. 2018-01-03 11:03:58 +01:00
ios Update copyright years. 2018-01-03 11:03:58 +01:00
iosfwd Update copyright years. 2018-01-03 11:03:58 +01:00
iostream Update copyright years. 2018-01-03 11:03:58 +01:00
istream Update copyright years. 2018-01-03 11:03:58 +01:00
iterator Update copyright years. 2018-01-03 11:03:58 +01:00
limits Update copyright years. 2018-01-03 11:03:58 +01:00
list Update copyright years. 2018-01-03 11:03:58 +01:00
locale Update copyright years. 2018-01-03 11:03:58 +01:00
map Update copyright years. 2018-01-03 11:03:58 +01:00
memory Update copyright years. 2018-01-03 11:03:58 +01:00
mutex Update copyright years. 2018-01-03 11:03:58 +01:00
numeric Update copyright years. 2018-01-03 11:03:58 +01:00
optional PR libstdc++/85642 fix is_nothrow_default_constructible<optional<T>> 2018-05-04 09:57:23 +01:00
ostream Update copyright years. 2018-01-03 11:03:58 +01:00
queue Update copyright years. 2018-01-03 11:03:58 +01:00
random Update copyright years. 2018-01-03 11:03:58 +01:00
ratio Update copyright years. 2018-01-03 11:03:58 +01:00
regex Update copyright years. 2018-01-03 11:03:58 +01:00
scoped_allocator Update copyright years. 2018-01-03 11:03:58 +01:00
set Update copyright years. 2018-01-03 11:03:58 +01:00
shared_mutex Update copyright years. 2018-01-03 11:03:58 +01:00
sstream Update copyright years. 2018-01-03 11:03:58 +01:00
stack Update copyright years. 2018-01-03 11:03:58 +01:00
stdexcept Update copyright years. 2018-01-03 11:03:58 +01:00
streambuf Update copyright years. 2018-01-03 11:03:58 +01:00
string Update copyright years. 2018-01-03 11:03:58 +01:00
string_view Update copyright years. 2018-01-03 11:03:58 +01:00
system_error Update copyright years. 2018-01-03 11:03:58 +01:00
thread PR libstdc++/84535 constrain std::thread constructor 2018-05-03 15:08:36 +01:00
tuple Define std::remove_cvref and std::remove_cvref_t for C++2a 2018-05-03 13:40:10 +01:00
type_traits Define std::remove_cvref and std::remove_cvref_t for C++2a 2018-05-03 13:40:10 +01:00
typeindex Update copyright years. 2018-01-03 11:03:58 +01:00
unordered_map Update copyright years. 2018-01-03 11:03:58 +01:00
unordered_set Update copyright years. 2018-01-03 11:03:58 +01:00
utility Update copyright years. 2018-01-03 11:03:58 +01:00
valarray PR libstdc++/83860 avoid dangling references in valarray closure types 2018-05-02 17:41:46 +01:00
variant PR libstdc++/84769 qualify call to std::get<0> 2018-05-03 19:58:04 +01:00
vector Update copyright years. 2018-01-03 11:03:58 +01:00