cyclic

Members

Mixin templates

CyclicRangePrimitives
mixin template CyclicRangePrimitives(T, string makeCopy = "typeof(cast() this) copy;")

Structs

CyclicArray
struct CyclicArray(T, size_t len = max(8, 4096 / T.sizeof))

@nogc array without memory management using a cyclic array internally Should be treated like a static array when no len is set (copies on assignment) The maximum capacity is static and by default so many elements that it fills at most 4KiB, but at least 8 elements (even if that is more than 4KiB). Set length to 0 to make it a std.container.Array based array

Meta