FixedRingBuffer

TODO: clear ring buffer fields upon removal (to run struct destructors, if T is a struct)

Constructors

this
this(size_t capacity)
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Functions

clear
void clear()
Undocumented in source. Be warned that the author may not have intended to support it.
opApply
int opApply(int delegate(ref T itm) del)
Undocumented in source. Be warned that the author may not have intended to support it.
opDollar
size_t opDollar()
Undocumented in source. Be warned that the author may not have intended to support it.
opIndex
inout(T) opIndex(size_t idx)
Undocumented in source. Be warned that the author may not have intended to support it.
opSlice
Range opSlice()
Undocumented in source. Be warned that the author may not have intended to support it.
opSlice
Range opSlice(size_t from, size_t to)
Undocumented in source. Be warned that the author may not have intended to support it.
peek
inout(T)[] peek()
Undocumented in source. Be warned that the author may not have intended to support it.
peekDst
T[] peekDst()
Undocumented in source. Be warned that the author may not have intended to support it.
popBack
void popBack()
Undocumented in source. Be warned that the author may not have intended to support it.
popBackN
void popBackN(size_t n)
Undocumented in source. Be warned that the author may not have intended to support it.
popFront
void popFront()
Undocumented in source. Be warned that the author may not have intended to support it.
popFrontN
void popFrontN(size_t n)
Undocumented in source. Be warned that the author may not have intended to support it.
put
void put(T itm)
Undocumented in source. Be warned that the author may not have intended to support it.
put
void put(TC[] itms)
Undocumented in source. Be warned that the author may not have intended to support it.
putN
void putN(size_t n)
Undocumented in source. Be warned that the author may not have intended to support it.
read
void read(T[] dst)
Undocumented in source. Be warned that the author may not have intended to support it.
removeAt
void removeAt(Range r)
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

back
inout(T) back [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
capacity
size_t capacity [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
capacity
size_t capacity [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
empty
bool empty [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
freeOnDestruct
bool freeOnDestruct [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
freeSpace
size_t freeSpace [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
front
inout(T) front [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
full
bool full [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
length
size_t length [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

Range
struct Range
Undocumented in source.

Variables

m_freeOnDestruct
bool m_freeOnDestruct;
Undocumented in source.

Meta