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

timshen@gcc.gnu.org timshen@gcc.gnu.org
Tue Dec 6 11:26:00 GMT 2016


Author: timshen
Date: Tue Dec  6 11:26:48 2016
New Revision: 243294

URL: https://gcc.gnu.org/viewcvs?rev=243294&root=gcc&view=rev
Log:
	* 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.


Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/include/bits/enable_special_members.h
    trunk/libstdc++-v3/include/std/variant
    trunk/libstdc++-v3/testsuite/20_util/variant/compile.cc
    trunk/libstdc++-v3/testsuite/20_util/variant/hash.cc



More information about the Gcc-cvs mailing list