Registry / utility / range-v3

range-v3

JSON →
library0.12.0vcpkgunverified

Range library for C++14/17/20, basis for C++20's std::ranges.

vcpkg install range-v3
INSTALL
IMPORT
SIG · RANGE-V3
R
range-v3
utilitycppv0.12.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.

range/v3/all.hpp
#include <range/v3/all.hpp>

Filter and transform a vector using ranges

#include <range/v3/all.hpp> #include <iostream> #include <vector> int main() { std::vector<int> v = {1, 2, 3, 4, 5}; auto r = v | ranges::views::filter([](int i) { return i % 2 == 0; }) | ranges::views::transform([](int i) { return i * i; }); for (int i : r) std::cout << i << ' '; return 0; }
Debug
Known issues
gotcharange-v3 is header-only but requires C++14 or later.
fix
Ensure your compiler supports C++14/17/20.
affects: *
Upgrade
Version history
0.12.0latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Amazon
1
Resources

No resource links recorded.

range-v3 — pip install range-v3 · libregistry