16 #ifndef GRPPI_STREAM_FILTER_H
17 #define GRPPI_STREAM_FILTER_H
41 template <
typename Predicate>
42 auto keep(Predicate && predicate_op)
57 template <
typename Predicate>
60 return keep([&](
auto val) {
return !predicate_op(val); });
Representation of filter pattern. Represents a filter that can be used as a stage on a pipeline.
Definition: filter_pattern.h:29
auto discard(Predicate &&predicate_op)
Invoke md_stream-filter on a data stream that can be composed in other streaming patterns....
Definition: stream_filter.h:58
auto keep(Predicate &&predicate_op)
Invoke md_stream-filter on a data stream that can be composed in other streaming patterns....
Definition: stream_filter.h:42
Definition: callable_traits.h:21