|
Aleph-w 7.10.0
A C++ Library for Data Structures and Algorithms
|
Generic filter iterator wrapper for Aleph containers. More...
#include <type_traits>#include <utility>#include <stdexcept>#include <ah-concepts.H>#include <ah-errors.H>Go to the source code of this file.
Classes | |
| class | Aleph::Filter_Iterator< Container, It, Show_Item > |
| Generic filter iterator wrapper. More... | |
| struct | Aleph::Show_All< T > |
| Default filter functor that shows all elements. More... | |
| struct | Aleph::Show_None< T > |
| Filter functor that hides all elements. More... | |
Namespaces | |
| namespace | Aleph |
| Main namespace for Aleph-w library functions. | |
Variables | |
| template<class Container > | |
| constexpr bool | Aleph::filter_iterator_keeps_copy |
| Whether a Filter_Iterator keeps a copy of its container, and not its address. | |
Generic filter iterator wrapper for Aleph containers.
This file provides a generic filter iterator that wraps an existing iterator and filters elements based on a user-defined predicate. Only elements that satisfy the filter predicate are visible during iteration.
Definition in file filter_iterator.H.