Registry / utility / nanorange

nanorange

JSON →
library2020-07-06vcpkgunverified

NanoRange is a C++14 implementation of the C++20 Ranges proposals.

vcpkg install nanorange
INSTALL
IMPORT
SIG · NANORANGE
N
nanorange
utilitycppv2020-07-06
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.

nanorange.hpp
#include <nanorange.hpp>

Filter even numbers using NanoRange views

#include <nanorange.hpp> #include <vector> #include <iostream> int main() { std::vector<int> v = {1, 2, 3, 4, 5}; auto r = v | nano::views::filter([](int i) { return i % 2 == 0; }); for (int i : r) { std::cout << i << " "; } std::cout << "\n"; return 0; }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2020-07-06latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Amazon
1
Resources

No resource links recorded.

nanorange — pip install nanorange · libregistry