gcc/libstdc++-v3/testsuite/20_util/any
Ville Voutilainen 5c578ae434 Implement LWG 2744 and LWG 2754.
* include/std/any (any(ValueType&&)): Constrain with __is_in_place_type.
	(any(in_place_type_t<_ValueType>, _Args&&...)): Use _Decay.
	(any(in_place_type_t<_ValueType>, initializer_list<_Up>, _Args&&...)):
	Likewise.
	(emplace(_Args&&...)): Likewise.
	(emplace(initializer_list<_Up>, _Args&&...)): Likewise.
	* include/std/utility: (__is_in_place_type_impl): New.
	(__is_in_place_type): Likewise.
	* testsuite/20_util/any/assign/emplace.cc: Add tests for decaying
	emplace.
	* testsuite/20_util/any/cons/in_place.cc: Add tests for decaying
	in_place constructor.
	* testsuite/20_util/any/misc/any_cast_neg.cc: Adjust.
	* testsuite/20_util/any/requirements.cc: Add a test for
	in_place-constructing a non-default-constructible type.

From-SVN: r239482
2016-08-15 18:06:09 +03:00
..
assign Implement LWG 2744 and LWG 2754. 2016-08-15 18:06:09 +03:00
cons Implement LWG 2744 and LWG 2754. 2016-08-15 18:06:09 +03:00
misc Implement LWG 2744 and LWG 2754. 2016-08-15 18:06:09 +03:00
modifiers
observers
make_any.cc
requirements.cc Implement LWG 2744 and LWG 2754. 2016-08-15 18:06:09 +03:00
typedefs.cc