GrPPI  0.2
Generic and Reusable Parallel Pattern Interface
Namespaces | Functions
stream_filter.h File Reference
#include "seq/stream_filter.h"
#include "native/stream_filter.h"
#include "omp/stream_filter.h"
#include "tbb/stream_filter.h"
#include "poly/stream_filter.h"
#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 Execution , typename Predicate >
auto grppi::keep (Execution &ex, Predicate &&predicate_op)
 Invoke Filter pattern 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 Execution , typename Predicate >
auto grppi::discard (Execution &ex, Predicate &&predicate_op)
 Invoke Filter pattern 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...