This is a header-only implementation of ring (or circular) buffer in C++11. It depends only on few stdlib definitions. Read more about Circular buffer on wikipedia.
See usage examples in folder test
- Better compability with
std::
containers - Iterators
- Memory reallocation
- Some functional extensions
After project was cloned
$ mkdir ./build && cd ./build
$ cmake -G"MinGW Makefiles" ../
$ cmake --build ./
$ cd ./test && ctest