From bc8a92c7b6ff76fa42d23f49f60d743f95d15798 Mon Sep 17 00:00:00 2001 From: jzmaddock Date: Sat, 12 Dec 2015 13:15:34 +0000 Subject: [PATCH] Suppress use of noexcept for gcc-4.6 as it doesn't handle all failure cases correctly. --- include/boost/type_traits/is_nothrow_move_constructible.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/type_traits/is_nothrow_move_constructible.hpp b/include/boost/type_traits/is_nothrow_move_constructible.hpp index 3cbca21..ecacc82 100644 --- a/include/boost/type_traits/is_nothrow_move_constructible.hpp +++ b/include/boost/type_traits/is_nothrow_move_constructible.hpp @@ -25,7 +25,7 @@ struct is_nothrow_move_constructible : public integral_constant struct is_nothrow_move_constructible : public ::boost::false_type {}; template struct is_nothrow_move_constructible : public ::boost::false_type{}; -#elif !defined(BOOST_NO_CXX11_NOEXCEPT) && !defined(BOOST_NO_SFINAE_EXPR) +#elif !defined(BOOST_NO_CXX11_NOEXCEPT) && !defined(BOOST_NO_SFINAE_EXPR) && !BOOST_WORKAROUND(BOOST_GCC_VERSION, < 40700) #include #include