An attempt at an STL-like circular array buffer with a minimal interface.