gcc/libstdc++-v3/include/experimental
Ville Voutilainen 6ffe854859 Implement LWG 2451, optional<T> should 'forward' T's implicit conversions.
Implement LWG 2451, optional<T> should 'forward' T's
	implicit conversions.
	* include/experimental/optional (__is_optional_impl, __is_optional):
	New.
	(optional()): Make constexpr and default.
	(optional(_Up&&), optional(const optional<_Up>&),
	optional(optional<_Up>&& __t): New.
	(operator=(_Up&&)): Constrain.
	(operator=(const optional<_Up>&), operator=(optional<_Up>&&)): New.
	* testsuite/experimental/optional/cons/value.cc:
	Add tests for the functionality added by LWG 2451.
	* testsuite/experimental/optional/cons/value_neg.cc: New.

From-SVN: r238049
2016-07-06 16:26:10 +03:00
..
bits Test begin and end functions for directory iterators 2016-05-10 16:39:20 +01:00
algorithm Update copyright years. 2016-01-04 15:30:50 +01:00
any Implement LWG 2509, 2016-07-05 21:33:18 +03:00
array Update copyright years. 2016-01-04 15:30:50 +01:00
chrono Update copyright years. 2016-01-04 15:30:50 +01:00
deque Update copyright years. 2016-01-04 15:30:50 +01:00
filesystem Update copyright years. 2016-01-04 15:30:50 +01:00
forward_list Update copyright years. 2016-01-04 15:30:50 +01:00
functional Update copyright years. 2016-01-04 15:30:50 +01:00
iterator Update copyright years. 2016-01-04 15:30:50 +01:00
list Update copyright years. 2016-01-04 15:30:50 +01:00
map Update copyright years. 2016-01-04 15:30:50 +01:00
memory Update copyright years. 2016-01-04 15:30:50 +01:00
memory_resource libstdc++/70940 Start fixing polymorphic memory resources 2016-05-04 13:08:45 +01:00
numeric Update copyright years. 2016-01-04 15:30:50 +01:00
optional Implement LWG 2451, optional<T> should 'forward' T's implicit conversions. 2016-07-06 16:26:10 +03:00
propagate_const Update copyright years. 2016-01-04 15:30:50 +01:00
random Update copyright years. 2016-01-04 15:30:50 +01:00
ratio Update copyright years. 2016-01-04 15:30:50 +01:00
regex Update copyright years. 2016-01-04 15:30:50 +01:00
set Update copyright years. 2016-01-04 15:30:50 +01:00
string Update copyright years. 2016-01-04 15:30:50 +01:00
string_view Update copyright years. 2016-01-04 15:30:50 +01:00
system_error Update copyright years. 2016-01-04 15:30:50 +01:00
tuple libstdc++/69939 Qualify get and forward 2016-02-24 13:59:29 +00:00
type_traits Update copyright years. 2016-01-04 15:30:50 +01:00
unordered_map Update copyright years. 2016-01-04 15:30:50 +01:00
unordered_set Update copyright years. 2016-01-04 15:30:50 +01:00
utility Update copyright years. 2016-01-04 15:30:50 +01:00
vector Update copyright years. 2016-01-04 15:30:50 +01:00