gcc/libstdc++-v3/include
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
..
backward Update copyright years. 2016-01-04 15:30:50 +01:00
bits Implement LWG 2758. 2016-08-11 17:45:23 +03:00
c Update copyright years. 2016-01-04 15:30:50 +01:00
c_compatibility Don't define guard macros when doing #include_next in math.h and stdlib.h 2016-02-01 11:13:40 +00:00
c_global Enable Mathematical Special Functions for C++17 2016-08-03 16:54:13 +01:00
c_std Update copyright years. 2016-01-04 15:30:50 +01:00
debug Replace references to C++0x with C++11 in comments 2016-07-15 21:23:08 +01:00
decimal Update copyright years. 2016-01-04 15:30:50 +01:00
experimental Add std::apply for C++17 2016-08-06 01:06:02 +01:00
ext Fix missing qualification in <ext/rope> 2016-07-25 13:56:12 +01:00
parallel libstdc++/71856 Define _GLIBCXX_PARALLEL_ASSERTIONS 2016-07-13 18:22:57 +01:00
precompiled Implement TR29124 C++ special Math Functions. 2016-01-14 18:12:43 +00:00
profile Update copyright years. 2016-01-04 15:30:50 +01:00
std Implement LWG 2744 and LWG 2754. 2016-08-15 18:06:09 +03:00
tr1 Enable Mathematical Special Functions for C++17 2016-08-03 16:54:13 +01:00
tr2 Update copyright years. 2016-01-04 15:30:50 +01:00
Makefile.am Add std::apply for C++17 2016-08-06 01:06:02 +01:00
Makefile.in Add std::apply for C++17 2016-08-06 01:06:02 +01:00