Lines Matching defs:type

25    would fail to compile without casts to enum type at the assignments
54 /* Traits type used to prevent the global operator overloads from
66 typedef enum_flags<enum_type> type; \
69 /* Until we can rely on std::underlying type being universally
71 template<int size, bool sign> class integer_for_size { typedef void type; };
72 template<> struct integer_for_size<1, 0> { typedef uint8_t type; };
73 template<> struct integer_for_size<2, 0> { typedef uint16_t type; };
74 template<> struct integer_for_size<4, 0> { typedef uint32_t type; };
75 template<> struct integer_for_size<8, 0> { typedef uint64_t type; };
76 template<> struct integer_for_size<1, 1> { typedef int8_t type; };
77 template<> struct integer_for_size<2, 1> { typedef int16_t type; };
78 template<> struct integer_for_size<4, 1> { typedef int32_t type; };
79 template<> struct integer_for_size<8, 1> { typedef int64_t type; };
85 integer_for_size<sizeof (T), static_cast<bool>(T (-1) < T (0))>::type
86 type;
94 typedef typename enum_underlying_type<enum_type>::type underlying_type;
97 /* Private type used to support initializing flag types with zero:
106 takes a pointer to this private type. Since nothing can
107 instantiate an object of this type, the only possible pointer to
167 // We only the underlying type to be unsigned when actually using
185 typename enum_flags_type<enum_type>::type
192 typename enum_flags_type<enum_type>::type
199 typename enum_flags_type<enum_type>::type
206 typename enum_flags_type<enum_type>::type
214 /* In C, the flags type is just a typedef for the enum type. */