StaticModArray.at

Variant of opIndex with compile-time range checking.

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

Meta