CircularBuffer.opOpAssign

Implements buf ~= someT (appending) by wrapping put.

struct CircularBuffer(T, Flag!"dynamic" dynamic = No.dynamic, size_t originalSize = 16)
pure @safe @nogc nothrow
void
opOpAssign
(
string op : "~"
)
(
const T more
)
if (
originalSize > 1
)

Parameters

op

Operation type, here specialised to "~".

more T

Item to add.

Meta