Lines Matching refs:true_type
31 #include "base/template_util.h" // For true_type and false_type
38 template<> struct is_integral<bool> : true_type { };
39 template<> struct is_integral<char> : true_type { };
40 template<> struct is_integral<unsigned char> : true_type { };
41 template<> struct is_integral<signed char> : true_type { };
46 template<> struct is_integral<__wchar_t> : true_type { };
48 template<> struct is_integral<wchar_t> : true_type { };
50 template<> struct is_integral<short> : true_type { };
51 template<> struct is_integral<unsigned short> : true_type { };
52 template<> struct is_integral<int> : true_type { };
53 template<> struct is_integral<unsigned int> : true_type { };
54 template<> struct is_integral<long> : true_type { };
55 template<> struct is_integral<unsigned long> : true_type { };
56 template<> struct is_integral<long long> : true_type { };
57 template<> struct is_integral<unsigned long long> : true_type { };
62 template<> struct is_floating_point<float> : true_type { };
63 template<> struct is_floating_point<double> : true_type { };
64 template<> struct is_floating_point<long double> : true_type { };
69 template <class T> struct is_pointer<T*> : true_type { };
74 template<typename T> struct is_reference<T&> : true_type {};
186 // Inherits from true_type if From is convertible to To, false_type otherwise.