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.
kdalgorithms.h
✓ #include <kdalgorithms.h>
Filter a vector using a predicate
#include <kdalgorithms.h>
#include <vector>
#include <iostream>
int main() {
std::vector<int> v = {1, 2, 3, 4, 5};
auto result = kdalgorithms::filtered(v, [](int x) { return x % 2 == 0; });
for (auto x : result) std::cout << x << " ";
return 0;
}
Debug
Known issues
No known issues recorded.
Audit
Dependencies
No dependency data recorded yet.
Resources
No resource links recorded.