RoundBuf

Cyclic buffer

Constructors

this
this(size_t n)

initializes round buffer of size n

Members

Functions

back
auto ref back()
empty
bool empty()
front
auto ref front()

Input range primitives

full
bool full()

Check if buffer is full

length
size_t length()

Current number of elements

popFront
void popFront()

Input range primitives

put
void put(T item)

Output range primitive

Meta