Nugget
|
A bit field element to be used in a BitField. More...
#include <common/util/bitfield.hh>
Public Types | |
using | Type = T |
using | Underlying = std::conditional_t< std::is_enum_v< T >, std::underlying_type_t< std::conditional_t< std::is_enum_v< T >, T, BitFieldInternal::Dummy > >, T > |
Static Public Attributes | |
static constexpr unsigned | Width = width |
A bit field element to be used in a BitField.
T | The type of the field. This can be any integral type or enum type. |
width | The width of the field in bits. |
using Utilities::BitSpan< T, width >::Type = T |
using Utilities::BitSpan< T, width >::Underlying = std::conditional_t<std::is_enum_v<T>, std::underlying_type_t<std::conditional_t<std::is_enum_v<T>, T, BitFieldInternal::Dummy> >, T> |
|
staticconstexpr |