Merge branch 'develop' of https://github.com/RobertLeahy/optional-2 into RobertLeahy-develop

This commit is contained in:
Andrzej Krzemienski committed 2020-04-06 00:42:05 +02:00
commit 9b1f8033eb
6 files changed
+37 -18

No files matched your search

@@ -359,7 +359,7 @@ class tc_optional_base : public optional_tag
template<class Expr>
void construct ( Expr const& factory, in_place_factory_base const* )
{
boost_optional_detail::construct<value_type>(factory, m_storage.address());
boost_optional_detail::construct<value_type>(factory, boost::addressof(m_storage));
m_initialized = true ;
}