Home | History | Annotate | Download | only in util

Lines Matching defs:is_arithmetic

56 template<typename T> struct is_arithmetic      { enum { value = false }; };
57 template<> struct is_arithmetic<float> { enum { value = true }; };
58 template<> struct is_arithmetic<double> { enum { value = true }; };
59 template<> struct is_arithmetic<long double> { enum { value = true }; };
60 template<> struct is_arithmetic<bool> { enum { value = true }; };
61 template<> struct is_arithmetic<char> { enum { value = true }; };
62 template<> struct is_arithmetic<signed char> { enum { value = true }; };
63 template<> struct is_arithmetic<unsigned char> { enum { value = true }; };
64 template<> struct is_arithmetic<signed short> { enum { value = true }; };
65 template<> struct is_arithmetic<unsigned short>{ enum { value = true }; };
66 template<> struct is_arithmetic<signed int> { enum { value = true }; };
67 template<> struct is_arithmetic<unsigned int> { enum { value = true }; };
68 template<> struct is_arithmetic<signed long> { enum { value = true }; };
69 template<> struct is_arithmetic<unsigned long> { enum { value = true }; };