Skip to content

vinitjames/circularbuffer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CircularBuffer

Actions Status   MIT License

About

circularbuffer_CPP is a simple, general purpose STL style circularbuffer implementation in C++.

Features

  • STL style implementaion of Circular Buffer
  • Lightweight (only single header file)
  • Simple API conforming to STL container semantics.
  • Random Access Iterator for easy forwad and reverse iteration and looping through elements.
  • Test suites

Installation

Run:

git clone https://github.com/vinitjames/circularbuffer_CPP.git

Without CMAKE

copy circular_buffer.h to your project

With CMAKE

To locally build and run test run the following commands

$ mkdir build
$ cd build 
$ cmake ..
$ cmake --build .
$ ctest 

To include in project as a submodule just clone the repo in a subdirectory and use add_subdirectory() in the top level CMakeLists.txt

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy