]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/multiprecision/test/test_adapt_serial.cpp
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / boost / libs / multiprecision / test / test_adapt_serial.cpp
index 8f7614e344f5ae289af072d6ba32f179d925e95e..3862cd1fc684b443936019e39a29d4fb528bdb26 100644 (file)
@@ -66,7 +66,7 @@ T generate_random(unsigned bits_wanted)
 }
 
 template <class T>
-void test_neg(const T& x, const boost::mpl::true_&)
+void test_neg(const T& x, const std::integral_constant<bool, true>&)
 {
    T val = -x;
 #ifndef BOOST_NO_EXCEPTIONS
@@ -115,7 +115,7 @@ void test_neg(const T& x, const boost::mpl::true_&)
 #endif
 }
 template <class T>
-void test_neg(const T&, const boost::mpl::false_&) {}
+void test_neg(const T&, const std::integral_constant<bool, false>&) {}
 
 template <class T>
 void test()
@@ -173,7 +173,7 @@ void test()
          std::cout << e.what() << std::endl;
       }
 #endif
-      test_neg(val, boost::mpl::bool_<std::numeric_limits<T>::is_signed>());
+      test_neg(val, std::integral_constant<bool, std::numeric_limits<T>::is_signed>());
       //
       // Check to see if test is taking too long.
       // Tests run on the compiler farm time out after 300 seconds,