GrPPI  1.0
Generic and Reusable Parallel Pattern Interface
Namespaces | Functions
stream_filter.h File Reference
#include "common/patterns.h"
Include dependency graph for stream_filter.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 grppi
 

Functions

template<typename Predicate >
auto grppi::keep (Predicate &&predicate_op)
 Invoke md_stream-filter on a data stream that can be composed in other streaming patterns. This function keeps in the stream only those items that satisfy the predicate. More...
 
template<typename Predicate >
auto grppi::discard (Predicate &&predicate_op)
 Invoke md_stream-filter on a data stream that can be composed in other streaming patterns. This function discards from the stream those items that satisfy the predicate. More...