#include <stdint.h>
#include <concepts>
#include <type_traits>
#include "util.h"
Go to the source code of this file.
|
template<std::integral T, std::integral U = T> |
using | Utilities::BitFieldInternal::SignedType = typename std::conditional_t< std::is_signed_v< T >, std::make_signed_t< U >, std::make_unsigned_t< U > > |
|
template<unsigned span> |
using | Utilities::BitFieldInternal::StorageType = typename std::conditional_t< span<=8, uint8_t, typename std::conditional_t< span<=16, uint16_t, typename std::conditional_t< span<=32, uint32_t, void > > > |
|
template<unsigned span, std::integral T> |
using | Utilities::BitFieldInternal::SignedStorageType = SignedType< T, StorageType< span > > |
|