|
guanaqo
develop
Utilities for scientific software
|
Range utilities such as set intersection views and enumeration adapters.
Files | |
| file | enumerate.hpp |
| enumerate() range adapter. | |
| file | iter-adapter.hpp |
| Adapter turning iterator pairs into a view. | |
| file | set-intersection.hpp |
| View for iterating the intersection of two sorted ranges. | |
Classes | |
| struct | guanaqo::enumerate_t< Rng > |
| struct | guanaqo::iter_range_adapter< It > |
| struct | guanaqo::set_intersection_iterable< R1, R2, Comp, Proj1, Proj2 > |
Functions | |
| template<class Rng> | |
| auto | guanaqo::enumerate (Rng &&rng) |
| template<std::ranges::viewable_range R1, std::ranges::viewable_range R2, class Comp = std::ranges::less, class Proj1 = std::identity, class Proj2 = std::identity> | |
| set_intersection_iterable< std::ranges::views::all_t< R1 >, std::ranges::views::all_t< R2 >, Comp, Proj1, Proj2 > | guanaqo::iter_set_intersection (R1 &&r1, R2 &&r2, Comp comp={}, Proj1 proj1={}, Proj2 proj2={}) |
| auto guanaqo::enumerate | ( | Rng && | rng | ) |
#include <guanaqo/enumerate.hpp>
Definition at line 72 of file enumerate.hpp.
| set_intersection_iterable< std::ranges::views::all_t< R1 >, std::ranges::views::all_t< R2 >, Comp, Proj1, Proj2 > guanaqo::iter_set_intersection | ( | R1 && | r1, |
| R2 && | r2, | ||
| Comp | comp = {}, | ||
| Proj1 | proj1 = {}, | ||
| Proj2 | proj2 = {} ) |
#include <guanaqo/set-intersection.hpp>
Definition at line 120 of file set-intersection.hpp.