Mjolnir Core
Core functionality of the Mjolnir API

◆ EquallySizedUnsignedType

using EquallySizedUnsignedType = typename std::conditional_t<std::is_unsigned_v<T_Type>, T_Type, std::conditional_t<std::is_same_v<T_Type, IPT>, UPT, std::conditional_t<sizeof(T_Type) == 1, U8, std::conditional_t<sizeof(T_Type) == 2, U16, std::conditional_t<sizeof(T_Type) == 4, U32, U64> >> >>

Unsigned integer type with the same size as the reference type.

Template Parameters
T_TypeThe reference type