cyclic

Undocumented in source.

Members

Classes

CyclicRangeError
class CyclicRangeError
Undocumented in source.

Mixin templates

CyclicRangePrimitives
mixintemplate CyclicRangePrimitives(T, string makeCopy = "typeof(cast() this) copy;")
Undocumented in source.

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

CyclicRange
struct CyclicRange(T)
Undocumented in source.

Meta