]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/type_traits/test/tricky_rvalue_test.cpp
update sources to v12.2.3
[ceph.git] / ceph / src / boost / libs / type_traits / test / tricky_rvalue_test.cpp
index 85d4d9e4a0f85f2ea4cde788cad89392480678fc..4edd44e197c37e79b5a17d47240bd5231113bc2e 100644 (file)
@@ -6,6 +6,7 @@
 
 #include "test.hpp"
 #include "check_integral_constant.hpp"
+#include <boost/detail/workaround.hpp>
 #ifdef TEST_STD
 #  include <type_traits>
 #else
@@ -18,6 +19,8 @@
 
 TT_TEST_BEGIN(rvalue_reference_test)
 
+#if !(defined(CI_SUPPRESS_KNOWN_ISSUES) && BOOST_WORKAROUND(BOOST_MSVC, <= 1700))
+
 #ifndef BOOST_NO_CXX11_RVALUE_REFERENCES
 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_reference<int (&&)(int)>::value, true);
 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_rvalue_reference<int (&)(int)>::value, false);
@@ -26,6 +29,8 @@ BOOST_CHECK_INTEGRAL_CONSTANT((::tt::is_convertible<int&&, int&>::value), false)
 BOOST_CHECK_INTEGRAL_CONSTANT((::tt::is_convertible<int(), int(&&)()>::value), true);
 #endif
 
+#endif
+
 TT_TEST_END