Function RingBuffer.clear

Destroys all live elements while retaining the backing allocation.

void clear();