Function RingBuffer.capacity

Returns the maximum number of live elements.

size_t capacity() const nothrow @nogc @safe;

Returns

Runtime capacity selected at construction.