CircularBuffer.empty

Returns whether or not the container is considered empty.

Mind that the buffer may well still contain old contents. Use clear to zero it out.

struct CircularBuffer(T, Flag!"dynamic" dynamic = No.dynamic, size_t originalSize = 16)
const inout
empty
()
if (
originalSize > 1
)

Return Value

Type: auto

true if there are items available to get via front, false if not.

Meta