Multi-element container. More...
#include <Types.h>
Public Member Functions | |
T & | operator[] (uint32_t i) |
Set element at index with no bounds checking. | |
const T & | operator[] (uint32_t i) const |
Get element at index with no bounds checking. | |
void | zero () |
Zeros all elements. | |
Static Public Member Functions | |
static uint32_t | size () |
Returns size of array. |
Multi-element container.
This is a fixed size array to enable better loop unrolling optimizations by the compiler and to avoid an extra 'size' data member for small-sized arrays. It intentionally lacks a constructor to allow C-style struct initializations.