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

ville@gcc.gnu.org ville@gcc.gnu.org
Tue Feb 27 11:33:00 GMT 2018


Author: ville
Date: Tue Feb 27 11:33:30 2018
New Revision: 258031

URL: https://gcc.gnu.org/viewcvs?rev=258031&root=gcc&view=rev
Log:
Implement the missing bits of LWG 2769

* include/std/any (any_cast(const any&)): Add static_assert.
(any_cast(any&)): Likewise.
(any_cast(any&&)): Likewise, and remove the handling
for copyable-but-not-movable type.
* testsuite/20_util/any/misc/any_cast.cc: Adjust.
* testsuite/20_util/any/misc/any_cast_neg.cc: Likewise, and
add new tests.

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



More information about the Libstdc++-cvs mailing list