This is the mail archive of the libstdc++-cvs@gcc.gnu.org mailing list for the libstdc++ 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]

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


Author: redi
Date: Fri Jan 20 01:22:54 2017
New Revision: 244678

URL: https://gcc.gnu.org/viewcvs?rev=244678&root=gcc&view=rev
Log:
PR69321 fix any_cast<T>(any*) for non-copyable T

	PR libstdc++/69321
	* include/experimental/any (__any_caster): Avoid instantiating
	manager function for types that can't be stored in any.
	* include/std/any (__any_caster): Likewise.
	* testsuite/20_util/any/misc/any_cast.cc: Test non-copyable type.
	* testsuite/experimental/any/misc/any_cast.cc: Likewise.

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


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