diff options
author | Ville Voutilainen <ville.voutilainen@gmail.com> | 2018-02-27 13:33:30 +0200 |
---|---|---|
committer | Ville Voutilainen <ville@gcc.gnu.org> | 2018-02-27 13:33:30 +0200 |
commit | 23c3a0590839e94c94890bb11c2e2e96c1b27f1d (patch) | |
tree | 67088f0548a23a8f21daff7a8ecc049ea30f0bec /gcc/gcov.c | |
parent | 2be4b342e00df3968d9b069349bd4cf540ea1f56 (diff) | |
download | gcc-23c3a0590839e94c94890bb11c2e2e96c1b27f1d.zip gcc-23c3a0590839e94c94890bb11c2e2e96c1b27f1d.tar.gz gcc-23c3a0590839e94c94890bb11c2e2e96c1b27f1d.tar.bz2 |
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.
From-SVN: r258031
Diffstat (limited to 'gcc/gcov.c')
0 files changed, 0 insertions, 0 deletions