diff options
author | Tim Shen <timshen@google.com> | 2016-12-06 11:26:48 +0000 |
---|---|---|
committer | Tim Shen <timshen@gcc.gnu.org> | 2016-12-06 11:26:48 +0000 |
commit | 458ef69052224b5d3d2c78cfbe0a0e0ec85a4193 (patch) | |
tree | c652adea01f85d2e42973e02cf87c3dcb4147671 /gcc/fortran/class.c | |
parent | 9189f55908d6655e63fff8d9b9f87ec83d4891e1 (diff) | |
download | gcc-458ef69052224b5d3d2c78cfbe0a0e0ec85a4193.zip gcc-458ef69052224b5d3d2c78cfbe0a0e0ec85a4193.tar.gz gcc-458ef69052224b5d3d2c78cfbe0a0e0ec85a4193.tar.bz2 |
enable_special_members.h: Make _Enable_default_constructor constexpr.
* include/bits/enable_special_members.h: Make
_Enable_default_constructor constexpr.
* include/std/variant (variant::emplace, variant::swap, std::swap,
std::hash): Sfinae on emplace and std::swap; handle __poison_hash bases
of duplicated types.
* testsuite/20_util/variant/compile.cc: Add tests.
* testsuite/20_util/variant/hash.cc: Add tests.
From-SVN: r243294
Diffstat (limited to 'gcc/fortran/class.c')
0 files changed, 0 insertions, 0 deletions