RingBuffer is a simple C++ single header library that implements a generic FIFO ring buffer.
See the example for how to use. You can run the example on linux based distributations by doing the following:
mkdir build
cd build
cmake ..
cmake --build .
./RingBuffer
No overflow handling currently exists