File indexing completed on 2025-01-18 09:53:11
0001
0002
0003
0004
0005
0006
0007
0008 #ifndef BOOST_TT_IS_COMPLEX_HPP
0009 #define BOOST_TT_IS_COMPLEX_HPP
0010
0011 #include <boost/config.hpp>
0012 #include <complex>
0013 #include <boost/type_traits/integral_constant.hpp>
0014
0015 namespace boost {
0016
0017 template <class T> struct is_complex : public false_type {};
0018 template <class T> struct is_complex<const T > : public is_complex<T>{};
0019 template <class T> struct is_complex<volatile const T > : public is_complex<T>{};
0020 template <class T> struct is_complex<volatile T > : public is_complex<T>{};
0021 template <class T> struct is_complex<std::complex<T> > : public true_type{};
0022
0023 }
0024
0025 #endif