r245458 - in /branches/gcc-5-branch/libstdc++-v...

redi@gcc.gnu.org redi@gcc.gnu.org
Tue Feb 14 21:17:00 GMT 2017


Author: redi
Date: Tue Feb 14 21:17:34 2017
New Revision: 245458

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

Backport from mainline
2017-01-20  Jonathan Wakely  <jwakely@redhat.com>

	PR libstdc++/69321
	* include/experimental/any (__any_caster): Avoid instantiating
	manager function for types that can't be stored in any.
	* testsuite/experimental/any/misc/any_cast.cc: Likewise.
	* testsuite/experimental/any/misc/any_cast_neg.cc: Adjust dg-error.

Modified:
    branches/gcc-5-branch/libstdc++-v3/ChangeLog
    branches/gcc-5-branch/libstdc++-v3/include/experimental/any
    branches/gcc-5-branch/libstdc++-v3/testsuite/experimental/any/misc/any_cast.cc
    branches/gcc-5-branch/libstdc++-v3/testsuite/experimental/any/misc/any_cast_neg.cc



More information about the Libstdc++-cvs mailing list