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;
}
Upgrade
Version history
2022-12-07latest on vcpkg
Audit
Dependencies
No dependency data recorded yet.
Resources
No resource links recorded.