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.
Resources
No resource links recorded.