Guard with #ifndef __cpp_lib_addressof_constexpr.
(operator->()): Use std::__addressof if it's constexpr.
-2016-11-27 Tim Shen <timshen@google.com>
+2016-12-06 Tim Shen <timshen@google.com>
* include/std/variant (visit): Make visit constexpr. Also cleanup
__get_alternative and __storage, since we don't support reference/void
alternatives any more.
* testsuite/20_util/variant/compile.cc: Add tests.
-2016-12-07 Tim Shen <timshen@google.com>
+2016-12-06 Tim Shen <timshen@google.com>
* include/bits/enable_special_members.h: Make
_Enable_default_constructor constexpr.
std::hash): Sfinae on emplace and std::swap; handle __poison_hash bases
of duplicated types.
-2016-12-07 Tim Shen <timshen@google.com>
+2016-12-06 Tim Shen <timshen@google.com>
* include/std/variant (std::get, operator==): Implement constexpr
comparison and get<>.
* testsuite/20_util/variant/compile.cc: Tests.
-2016-12-07 Tim Shen <timshen@google.com>
+2016-12-06 Tim Shen <timshen@google.com>
* include/std/variant (__erased_use_alloc_ctor,
_Variant_base::_Variant_base, variant::variant): Remove uses-allocator