Thanks, Mat
#include <utility> #include "boost/optional.hpp"
boost::optional<std::pair<double, double> > foo;
/*
Error : illegal use of incomplete struct/union/class 'boost::STATIC_ASSERTION_FAILURE<0>'
(instantiating: 'boost::optional<std::pair<double, double>>')
(instantiating: 'boost::optional_detail::aligned_storage<std::pair<double, double>>')
(instantiating: 'boost::optional_detail::aligned_storage<std::pair<double, double>>::dummy_u')
(instantiating: 'boost::type_with_alignment<8>')
type_with_alignment.hpp line 109 BOOST_STATIC_ASSERT(found >= Align);
Error : illegal use of incomplete struct/union/class 'boost::STATIC_ASSERTION_FAILURE<0>'
(instantiating: 'boost::optional<std::pair<double, double>>')
(instantiating: 'boost::optional_detail::aligned_storage<std::pair<double, double>>')
(instantiating: 'boost::optional_detail::aligned_storage<std::pair<double, double>>::dummy_u')
(instantiating: 'boost::type_with_alignment<8>')
type_with_alignment.hpp line 110 BOOST_STATIC_ASSERT(found % Align == 0);
*/
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost