r245451 - in /branches/gcc-6-branch/libstdc++-v...
redi@gcc.gnu.org
redi@gcc.gnu.org
Tue Feb 14 20:08:00 GMT 2017
Author: redi
Date: Tue Feb 14 20:08:04 2017
New Revision: 245451
URL: https://gcc.gnu.org/viewcvs?rev=245451&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.
Modified:
branches/gcc-6-branch/libstdc++-v3/ChangeLog
branches/gcc-6-branch/libstdc++-v3/include/experimental/any
branches/gcc-6-branch/libstdc++-v3/testsuite/experimental/any/misc/any_cast.cc
More information about the Libstdc++-cvs
mailing list