diff --git a/test/unordered/compile_tests.hpp b/test/unordered/compile_tests.hpp index df49bf91..45ad2111 100644 --- a/test/unordered/compile_tests.hpp +++ b/test/unordered/compile_tests.hpp @@ -19,6 +19,7 @@ #include "../helpers/check_return_type.hpp" #include #include +#include #include #include #include @@ -169,11 +170,15 @@ template void container_test(X& r, T const&) // node_type implicit_construct(); +#if !BOOST_COMP_GNUC || BOOST_COMP_GNUC >= BOOST_VERSION_NUMBER(4, 8, 0) TEST_NOEXCEPT_EXPR(node_type()); +#endif node_type n1; node_type n2(rvalue_default()); +#if !BOOST_COMP_GNUC || BOOST_COMP_GNUC >= BOOST_VERSION_NUMBER(4, 8, 0) TEST_NOEXCEPT_EXPR(node_type(boost::move(n1))); +#endif node_type n3; n3 = boost::move(n2); n1.swap(n3);