12 if constexpr (size <= NumericLimits<u8>::max) {
14 }
else if constexpr (size <= NumericLimits<u16>::max) {
16 }
else if constexpr (size <= NumericLimits<u32>::max) {
18 }
else if constexpr (size <= NumericLimits<u64>::max) {
constexpr auto smallest_unsigned_type_helper(Constexpr< size >)
Definition smallest_unsigned_type.h:11
decltype(detail::smallest_unsigned_type_helper(c_< size >)) SmallestUnsignedType
Definition smallest_unsigned_type.h:27
__UINT64_TYPE__ u64
Definition integers.h:12
uintmax_t umax
Definition integers.h:39
__UINT8_TYPE__ u8
Definition integers.h:9
__UINT32_TYPE__ u32
Definition integers.h:11
__UINT16_TYPE__ u16
Definition integers.h:10
constexpr auto c_
A value of type Constexpr<val>.
Definition constexpr.h:252