circularbuffer_CPP is a simple, general purpose STL style circularbuffer implementation in C++.
- STL style implementation of Circular Buffer
- Lightweight (only single header file)
- Simple API conforming to STL container semantics.
- Random Access Iterator for easy forward and reverse iteration and looping through elements.
- Test suites
Run:
git clone https://github.com/vinitjames/circularbuffer_CPP.gitcopy circular_buffer.h to your project
To locally build and run test run the following commands:
mkdir build
cmake -B build
cmake --build build
ctest --test-dir buildTo include in project as a submodule just clone the repo in a subdirectory and use add_subdirectory() in the top level CMakeLists.txt