StaticModArray.at

Variant of opIndex with compile-time range checking.

struct StaticModArray(uint capacity, uint elementLength, uint span, bool useModuloFlag)
@safe pure nothrow @nogc ref inout @trusted
at
(
uint ix
)
()
if (
ix < capacity
)
if (
capacity * elementLength >= 2
)

Meta