GrPPI  0.2
Generic and Reusable Parallel Pattern Interface
Namespaces | Functions
poly/stream_filter.h File Reference
#include "polymorphic_execution.h"
#include "../common/support.h"
Include dependency graph for poly/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 Generator , typename Predicate , typename Consumer >
void grppi::keep_multi_impl (polymorphic_execution, Generator &&generate_op, Predicate predicate_op, Consumer consume_op)
 
template<typename E , typename... O, typename Generator , typename Predicate , typename Consumer , internal::requires_execution_not_supported< E > = 0>
void grppi::keep_multi_impl (polymorphic_execution &ex, Generator &&generate_op, Predicate &&predicate_op, Consumer &&consume_op)
 
template<typename Generator , typename Predicate , typename Consumer >
void grppi::discard_multi_impl (polymorphic_execution, Generator &&generate_op, Predicate predicate_op, Consumer consume_op)
 
template<typename E , typename... O, typename Generator , typename Predicate , typename Consumer , internal::requires_execution_not_supported< E > = 0>
void grppi::discard_multi_impl (polymorphic_execution &ex, Generator &&generate_op, Predicate &&predicate_op, Consumer &&consume_op)
 
template<typename Generator , typename Predicate , typename Consumer >
void grppi::keep (polymorphic_execution &ex, Generator &&generate_op, Predicate &&predicate_op, Consumer &&consume_op)
 Invoke Filter pattern on a data sequence with polymorphic execution policy. This function keeps in the stream only those items that satisfy the predicate. More...
 
template<typename Generator , typename Predicate , typename Consumer >
void grppi::discard (polymorphic_execution &ex, Generator &&generate_op, Predicate &&predicate_op, Consumer &&consume_op)
 Invoke Filter pattern on a data sequence with polymorphic execution policy. This function discards from the stream those items that satisfy the predicate. More...