Registry / utility / ring-span-lite

ring-span-lite

JSON →
library0.7.0vcpkgunverified

A C++yy-like ring_span type for C++98, C++11 and later in a single-file header-only library.

vcpkg install ring-span-lite
INSTALL
IMPORT
SIG · RING-SPAN-LITE
R
ring-span-lite
utilitycppv0.7.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.

nonstd/ring_span.hpp
#include <nonstd/ring_span.hpp>

Basic usage of ring_span with a fixed-size buffer.

#include <nonstd/ring_span.hpp> #include <iostream> #include <array> int main() { std::array<int, 5> buffer{}; nonstd::ring_span<int> ring(buffer); ring.push_back(1); ring.push_back(2); for (auto v : ring) std::cout << v << ' '; return 0; }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.7.0latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources

No resource links recorded.

ring-span-lite — pip install ring-span-lite · libregistry