Lines Matching defs:IsInteger
31 // IsInteger<T>::value
51 template<typename T> struct IsInteger { static const bool value = false; };
52 template<> struct IsInteger<bool> { static const bool value = true; };
53 template<> struct IsInteger<char> { static const bool value = true; };
54 template<> struct IsInteger<signed char> { static const bool value = true; };
55 template<> struct IsInteger<unsigned char> { static const bool value = true; };
56 template<> struct IsInteger<short> { static const bool value = true; };
57 template<> struct IsInteger<unsigned short> { static const bool value = true; };
58 template<> struct IsInteger<int> { static const bool value = true; };
59 template<> struct IsInteger<unsigned int> { static const bool value = true; };
60 template<> struct IsInteger<long> { static const bool value = true; };
61 template<> struct IsInteger<unsigned long> { static const bool value = true; };
62 template<> struct IsInteger<long long> { static const bool value = true; };
63 template<> struct IsInteger<unsigned long long> { static const bool value = true; };
65 template<> struct IsInteger<wchar_t> { static const bool value = true; };
73 template<typename T> struct IsArithmetic { static const bool value = IsInteger<T>::value || IsFloatingPoint<T>::value; };
110 static const bool value = IsInteger<T>::value || IsConvertibleToDouble<!IsInteger<T>::value, T>::value;