guanaqo 1.0.0-alpha.24
Utilities for scientific software
Loading...
Searching...
No Matches
set-intersection.hpp File Reference

Detailed Description

View for iterating the intersection of two sorted ranges.

Definition in file set-intersection.hpp.

#include <algorithm>
#include <functional>
#include <iterator>
#include <ranges>
Include dependency graph for set-intersection.hpp:

Go to the source code of this file.

Classes

struct  guanaqo::set_intersection_iterable< R1, R2, Comp, Proj1, Proj2 >
struct  guanaqo::set_intersection_iterable< R1, R2, Comp, Proj1, Proj2 >::sentinel_t
struct  guanaqo::set_intersection_iterable< R1, R2, Comp, Proj1, Proj2 >::iter_t< I1, S1, I2, S2 >

Namespaces

namespace  guanaqo

Functions

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={})

Class Documentation

◆ guanaqo::set_intersection_iterable::sentinel_t

struct guanaqo::set_intersection_iterable::sentinel_t
Collaboration diagram for guanaqo::set_intersection_iterable< R1, R2, Comp, Proj1, Proj2 >::sentinel_t: