Registry / utility / boost-circular-buffer

boost-circular-buffer

JSON →
library1.90.0vcpkgunverified

Boost.CircularBuffer provides a container that stores elements in a fixed-size buffer, overwriting old elements when full.

vcpkg install boost-circular-buffer
INSTALL
IMPORT
SIG · BOOST-CIRCULAR-BUF
B
boost-circular-buffer
utilitycppv1.90.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

boost/circular_buffer.hpp
#include <boost/circular_buffer.hpp>

Demonstrates basic usage of boost::circular_buffer with fixed capacity.

#include <boost/circular_buffer.hpp> #include <iostream> int main() { boost::circular_buffer<int> cb(3); cb.push_back(1); cb.push_back(2); cb.push_back(3); cb.push_back(4); // overwrites 1 for (int x : cb) std::cout << x << ' '; return 0; }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.90.0latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
12 hits · last 30 days
node
12
Resources

No resource links recorded.

boost-circular-buffer — pip install boost-circular-buffer · libregistry