aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/include/std/atomic
diff options
context:
space:
mode:
authorVille Voutilainen <ville.voutilainen@gmail.com>2016-12-16 13:34:45 +0200
committerVille Voutilainen <ville@gcc.gnu.org>2016-12-16 13:34:45 +0200
commit62549523462ea288aebd4e476bb33169bbe0a293 (patch)
tree7b9f82a4f8271aa9bbfad13dac55d30a9f1d1557 /libstdc++-v3/include/std/atomic
parentb7fc43d7c747d190e197ca89cfce4f1d9def7c7e (diff)
downloadgcc-62549523462ea288aebd4e476bb33169bbe0a293.zip
gcc-62549523462ea288aebd4e476bb33169bbe0a293.tar.gz
gcc-62549523462ea288aebd4e476bb33169bbe0a293.tar.bz2
Implement LWG 2769, Redundant const in the return type of any_cast(const any&).
Implement LWG 2769, Redundant const in the return type of any_cast(const any&). * include/std/any (_AnyCast): New. (any_cast(const any&)): Use it and add an explicit cast for return. (any_cast(any&)): Likewise. (any_cast(any&&)): Likewise. * testsuite/20_util/any/misc/any_cast.cc: Add a test for a type that has an explicit copy constructor. *testsuite/20_util/any/misc/any_cast_neg.cc: Adjust. From-SVN: r243739
Diffstat (limited to 'libstdc++-v3/include/std/atomic')
0 files changed, 0 insertions, 0 deletions