2
0
mirror of https://github.com/boostorg/math.git synced 2026-02-22 03:22:28 +00:00

Merge pull request #576 from mborland/type_traits

Remove boost.type_traits dependency
This commit is contained in:
jzmaddock
2021-03-25 08:53:03 +00:00
committed by GitHub
27 changed files with 84 additions and 85 deletions

View 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 {};
}}}

View File

@@ -36,8 +36,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 {};
}}}