gcc/libstdc++-v3/testsuite/experimental/any
Ville Voutilainen 7d4f48b5b8 Implement LWG 2509,
any_cast doesn't work with rvalue reference targets and cannot
	move with a value target.
	* include/experimental/any (any(_ValueType&&)): Constrain and
	add an overload that doesn't forward.
	(any_cast(any&&)): Constrain and add an overload that moves.
	* testsuite/experimental/any/misc/any_cast.cc: Add tests for
	the functionality added by LWG 2509.

From-SVN: r238022
2016-07-05 21:33:18 +03:00
..
assign Update copyright years. 2016-01-04 15:30:50 +01:00
cons Update copyright years. 2016-01-04 15:30:50 +01:00
misc Implement LWG 2509, 2016-07-05 21:33:18 +03:00
modifiers Update copyright years. 2016-01-04 15:30:50 +01:00
observers Update copyright years. 2016-01-04 15:30:50 +01:00
typedefs.cc Update copyright years. 2016-01-04 15:30:50 +01:00