Skip to content

massimo-marino/circular-buffer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 

Repository files navigation

circular-buffer

C++17/20 implementation of a circular buffer

Requirements

cmake is used to compile the sources.

The cmake file compiles with C++20.

The unit tests are implemented in googletest: be sure you have installed googletest to compile.

Install

$ git clone https://github.com/massimo-marino/circular-buffer.git
$ cd circular-buffer
$ mkdir build
$ cd build
$ cmake ..
$ make

Run Unit Tests

$ cd src/unitTests
$ ./unitTests

Run Example

Remove -DDO_LOGS from CMAKE_CXX_FLAGS in the cmake file to see no logs printed at run-time.

$ cd ../example
$ ./circular-buffer-example

Releases

No releases published

Packages

No packages published