diff options
author | Ville Voutilainen <ville.voutilainen@gmail.com> | 2016-07-05 21:33:18 +0300 |
---|---|---|
committer | Ville Voutilainen <ville@gcc.gnu.org> | 2016-07-05 21:33:18 +0300 |
commit | 7d4f48b5b85b20df4f1acc19a3f1326d37a8bf6a (patch) | |
tree | bac6ae817f1101d9ed774592f2b848b5c7ffea8f /gcc/tree-vectorizer.h | |
parent | 98d44e93bfde113ced834cc65dd9d11231a94114 (diff) | |
download | gcc-7d4f48b5b85b20df4f1acc19a3f1326d37a8bf6a.zip gcc-7d4f48b5b85b20df4f1acc19a3f1326d37a8bf6a.tar.gz gcc-7d4f48b5b85b20df4f1acc19a3f1326d37a8bf6a.tar.bz2 |
Implement LWG 2509,
any_cast doesn't work with rvalue reference targets and cannot
move with a value target.
* include/experimental/any (any(_ValueType&&)): Constrain and
add an overload that doesn't forward.
(any_cast(any&&)): Constrain and add an overload that moves.
* testsuite/experimental/any/misc/any_cast.cc: Add tests for
the functionality added by LWG 2509.
From-SVN: r238022
Diffstat (limited to 'gcc/tree-vectorizer.h')
0 files changed, 0 insertions, 0 deletions