diff --git a/include/boost/type_traits/is_nothrow_move_assignable.hpp b/include/boost/type_traits/is_nothrow_move_assignable.hpp index 5a3427f..c55dfc6 100644 --- a/include/boost/type_traits/is_nothrow_move_assignable.hpp +++ b/include/boost/type_traits/is_nothrow_move_assignable.hpp @@ -16,6 +16,7 @@ #include #include #include +#include #include #include #include @@ -37,7 +38,7 @@ struct false_or_cpp11_noexcept_move_assignable: public ::boost::false_type {}; template struct false_or_cpp11_noexcept_move_assignable < T, - typename ::boost::enable_if_c() = ::boost::declval())>::type + typename ::boost::enable_if_c::value && BOOST_NOEXCEPT_EXPR(::boost::declval() = ::boost::declval())>::type > : public ::boost::integral_constant() = ::boost::declval())> {}; diff --git a/test/is_convertible_test.cpp b/test/is_convertible_test.cpp index 6f085ff..40764c0 100644 --- a/test/is_convertible_test.cpp +++ b/test/is_convertible_test.cpp @@ -30,7 +30,7 @@ template struct test_bug_4530 { template - test_bug_4530(A&&, typename boost::enable_if<::tt::is_convertible >::type* =0); + test_bug_4530(A&&, typename boost::enable_if< ::tt::is_convertible >::type* =0); }; struct A4530