table_type.hpp 558 B

1234567891011121314151617181920212223242526272829
  1. // Copyright John Maddock 2012.
  2. // Use, modification and distribution are subject to the
  3. // Boost Software License, Version 1.0.
  4. // (See accompanying file LICENSE_1_0.txt
  5. // or copy at http://www.boost.org/LICENSE_1_0.txt)
  6. #ifndef BOOST_MATH_TEST_TABLE_TYPE_HPP
  7. #define BOOST_MATH_TEST_TABLE_TYPE_HPP
  8. template <class T>
  9. struct table_type
  10. {
  11. typedef T type;
  12. };
  13. namespace boost{ namespace math{ namespace concepts{
  14. class real_concept;
  15. }}}
  16. template <>
  17. struct table_type<boost::math::concepts::real_concept>
  18. {
  19. typedef long double type;
  20. };
  21. #endif