]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/type_traits/test/tricky_rvalue_test.cpp
update sources to ceph Nautilus 14.2.1
[ceph.git] / ceph / src / boost / libs / type_traits / test / tricky_rvalue_test.cpp
index 4edd44e197c37e79b5a17d47240bd5231113bc2e..8199edc2d5f777434833d69d5b7595640a95f68f 100644 (file)
@@ -4,9 +4,6 @@
 //  Boost Software License, Version 1.0. (See accompanying file 
 //  LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
 
-#include "test.hpp"
-#include "check_integral_constant.hpp"
-#include <boost/detail/workaround.hpp>
 #ifdef TEST_STD
 #  include <type_traits>
 #else
@@ -16,6 +13,9 @@
 #  include <boost/type_traits/is_reference.hpp>
 #  include <boost/type_traits/is_function.hpp>
 #endif
+#include "test.hpp"
+#include "check_integral_constant.hpp"
+#include <boost/detail/workaround.hpp>
 
 TT_TEST_BEGIN(rvalue_reference_test)
 
@@ -25,9 +25,11 @@ TT_TEST_BEGIN(rvalue_reference_test)
 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_reference<int (&&)(int)>::value, true);
 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_rvalue_reference<int (&)(int)>::value, false);
 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_rvalue_reference<int (&&)(int)>::value, true);
+#if !(defined(CI_SUPPRESS_KNOWN_ISSUES) && BOOST_WORKAROUND(BOOST_GCC, < 40700))
 BOOST_CHECK_INTEGRAL_CONSTANT((::tt::is_convertible<int&&, int&>::value), false);
 BOOST_CHECK_INTEGRAL_CONSTANT((::tt::is_convertible<int(), int(&&)()>::value), true);
 #endif
+#endif
 
 #endif