12345678910111213141516171819202122 |
- #ifndef BOOST_MP_IS_COMPLEX_HPP
- #define BOOST_MP_IS_COMPLEX_HPP
- #include <type_traits>
- #include <complex>
- namespace boost { namespace multiprecision { namespace detail {
- template <class T> struct is_complex : public std::integral_constant<bool, false> {};
- template <class T> struct is_complex<std::complex<T> > : public std::integral_constant<bool, true> {};
- }
- }
- }
- #endif
|