Registry / utility / rivers

rivers

JSON →
library2022-05-16vcpkgunverified

A C++ internal iteration library based loosely on Java Streams

vcpkg install rivers
INSTALL
IMPORT
SIG · RIVERS
R
rivers
utilitycppv2022-05-16
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.

rivers/rivers.hpp
#include <rivers/rivers.hpp>

Using rivers to filter and map a vector

#include <rivers/rivers.hpp> #include <iostream> #include <vector> int main() { std::vector<int> v = {1, 2, 3, 4, 5}; auto result = rivers::from(v) .filter([](int x) { return x % 2 == 0; }) .map([](int x) { return x * 2; }) .to_vector(); for (int x : result) std::cout << x << " "; return 0; }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2022-05-16latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
3 hits · last 30 days
node
2
Amazon
1
Resources

No resource links recorded.

rivers — pip install rivers · libregistry