2016-09-05 Mikhail Strelnikov <mikhail.strelnikov@gmail.com>
* include/std/variant (_Variant_storage::_M_storage()): Use std::addressof
instead of operator& to take address.
From-SVN: r239996
+2016-09-05 Mikhail Strelnikov <mikhail.strelnikov@gmail.com>
+
+ * include/std/variant (_Variant_storage::_M_storage()): Use std::addressof
+ instead of operator& to take address.
+
2016-09-02 Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org>
* acinclude.m4 (GLIBCXX_CONFIGURE_TESTSUITE): Check for presence of
_M_storage() const
{
return const_cast<void*>(
- static_cast<const void*>(&_M_first._M_storage));
+ static_cast<const void*>(std::addressof(_M_first._M_storage)));
}
union