This is the mail archive of the gcc-cvs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

r238022 - in /trunk/libstdc++-v3: ChangeLog inc...


Author: ville
Date: Tue Jul  5 18:33:18 2016
New Revision: 238022

URL: https://gcc.gnu.org/viewcvs?rev=238022&root=gcc&view=rev
Log:
	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.

Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/include/experimental/any
    trunk/libstdc++-v3/testsuite/experimental/any/misc/any_cast.cc
    trunk/libstdc++-v3/testsuite/experimental/any/misc/any_cast_neg.cc


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]