]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/math/test/compile_test/dist_find_location_incl_test.cpp
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / boost / libs / math / test / compile_test / dist_find_location_incl_test.cpp
index 20aadba1573f8a4b272d7af5c90bef15515d23f2..0e6d958cb56591521d94f7a38e97e1faf82c0f9d 100644 (file)
@@ -6,6 +6,7 @@
 // Basic sanity check that header <boost/math/distributions/find_location.hpp>
 // #includes all the files that it needs to.
 //
+#include <type_traits>
 #include <boost/math/distributions/find_location.hpp>
 //
 // Note this header includes no other headers, this is
@@ -36,8 +37,8 @@ T quantile(const boost::math::complemented2_type<test_distribution<T, Policy>, T
 
 namespace boost{ namespace math{ namespace tools{
 
-   template <class T, class Policy> struct is_distribution<test_distribution<T, Policy> > : public true_type{};
-   template <class T, class Policy> struct is_scaled_distribution<test_distribution<T, Policy> > : public true_type{};
+   template <class T, class Policy> struct is_distribution<test_distribution<T, Policy> > : public std::true_type {};
+   template <class T, class Policy> struct is_scaled_distribution<test_distribution<T, Policy> > : public std::true_type {};
 
 }}}