Registry / utility / pfultz2-linq

pfultz2-linq

JSON →
library2019-05-14vcpkgunverified

Linq for list comprehension in C++

vcpkg install pfultz2-linq
INSTALL
IMPORT
SIG · PFULTZ2-LINQ
P
pfultz2-linq
utilitycppv2019-05-14
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.

linq.hpp
#include <linq.hpp>

Filter even numbers from a vector using Linq

#include <linq.hpp> #include <iostream> #include <vector> int main() { std::vector<int> nums = {1,2,3,4,5}; auto result = linq::from(nums).where([](int x){ return x % 2 == 0; }).to_vector(); for (int n : result) std::cout << n << ' '; }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2019-05-14latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources

No resource links recorded.

pfultz2-linq — pip install pfultz2-linq · libregistry