Fixed-sized array with a sequence generator. More...
#include <gen.h>
Public Member Functions | |
| T | operator() () |
| Generate next array element. | |
| G & | tap () |
| Get reference to index generator. | |
| 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. | |
Fixed-sized array with a sequence generator.