Structure to create a 128 vector with 8 bit unsigned integer constants. More...
Public Member Functions | |
operator vector128_t () const noexcept | |
Accessor to load the 128 bit vector value. |
Public Attributes | |
union { | |
uint8_t u [16] | |
Value as 16 unsigned 8 bit integers. More... | |
vector128_t v | |
Value as a 128 bit vector. More... | |
}; |
Structure to create a 128 vector with 8 bit unsigned integer constants.
There is no standard for initializing 128 bit vectors at compile time. This structure fixes the problem by creating a union between the 128 bit value and an array of data that maps directly over it.
|
inlinenoexcept |
union { ... } Burger::vector128_uint8_t |
uint8_t Burger::vector128_uint8_t::u[16] |
Value as 16 unsigned 8 bit integers.
vector128_t Burger::vector128_uint8_t::v |
Value as a 128 bit vector.