CircularBuffer_.push

Pushes an element on the Cache. If maxLength isn't reached, resizes the cache. If it is reached, overwrites the oldest element

struct CircularBuffer_(T)
void
push

Parameters

element T

The element to push into the cache

Meta