File indexing completed on 2025-01-18 09:42:24
0001
0002
0003
0004
0005
0006 #ifndef BOOST_MP_IS_COMPLEX_HPP
0007 #define BOOST_MP_IS_COMPLEX_HPP
0008
0009 #include <type_traits>
0010 #include <complex>
0011
0012 namespace boost { namespace multiprecision { namespace detail {
0013
0014 template <class T> struct is_complex : public std::integral_constant<bool, false> {};
0015
0016 template <class T> struct is_complex<std::complex<T> > : public std::integral_constant<bool, true> {};
0017
0018 }
0019 }
0020 }
0021
0022 #endif