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:
@@ -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 {};
|
||||
|
||||
}}}
|
||||
|
||||
|
||||
@@ -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 {};
|
||||
|
||||
}}}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user