Function RingBuffer.capacity

Maximum number of live elements.

size_t capacity() const nothrow @nogc @safe;