Representation of filter pattern. Represents a filter that can be used as a stage on a pipeline.
More...
#include <filter_pattern.h>
|
| filter_t (Predicate &&p) noexcept |
| Constructs a filter with a predicate. More...
|
|
template<typename I > |
bool | operator() (I &&item) const |
| Invokes the predicate of the filter over a data item. More...
|
|
template<typename Predicate>
class grppi::filter_t< Predicate >
Representation of filter pattern. Represents a filter that can be used as a stage on a pipeline.
- Template Parameters
-
Predicate | Callable type for the filter predicate. |
template<typename Predicate >
Constructs a filter with a predicate.
- Parameters
-
p | Predicate for the filter. |
template<typename Predicate >
template<typename I >
Invokes the predicate of the filter over a data item.
The documentation for this class was generated from the following file: