Interface for applyinng the md_stream-filter.
More...
|
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...
|
|
Interface for applyinng the md_stream-filter.
◆ discard()
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.
- Template Parameters
-
Execution | Execution policy. |
Predicate | Callable type for filter predicate. |
- Parameters
-
ex | Execution policy object. |
predicate_op | Predicate callable object. |
◆ keep()
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.
- Template Parameters
-
Execution | Execution policy. |
Predicate | Callable type for filter predicate. |
- Parameters
-
ex | Execution policy object. |
predicate_op | Predicate callable object. |