Registry / utility / tl-ranges

tl-ranges

JSON →
library2022-12-07vcpkgunverified

Ranges that didn't make C++20

vcpkg install tl-ranges
INSTALL
IMPORT
SIG · TL-RANGES
T
tl-ranges
utilitycppv2022-12-07
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.

tl/ranges.hpp
✓ #include <tl/ranges.hpp>

Filters even numbers using tl::views::filter

#include <tl/ranges.hpp> #include <iostream> #include <vector> int main() { std::vector<int> v = {1, 2, 3, 4, 5}; auto r = v | tl::views::filter([](int x) { return x % 2 == 0; }); for (int x : r) std::cout << x << " "; return 0; }
Debug
Known issues
gotchaHeader-only library; no linking required
fix
Ensure C++17 or later is enabled
affects: *
Upgrade
Version history
2022-12-07latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources

No resource links recorded.

tl-ranges — pip install tl-ranges · libregistry