P99
|
◆ P99_TO_UNSIGNED
Value:
((uintmax_t) \
(sizeof(T) < sizeof(signed) \
? (sizeof(T) == 1u \
? MACRO(unsigned char) \
: MACRO(unsigned short)) \
? MACRO(unsigned) \
: (sizeof(T) < sizeof(unsigned long long) \
? MACRO(unsigned long) \
: MACRO(unsigned long long)))))
Apply the type macro MACRO to an unsigned type that is compatible with type T. The returned expression is of type
|