Interface for defining a new Context to run a given function or pattern.
More...
|
template<typename ExecutionPolicy , typename Transformer > |
auto | grppi::run_with (ExecutionPolicy &ex, Transformer &&transform_op) |
| Define a new Context on a data stream that can be composed in other streaming patterns. More...
|
|
Interface for defining a new Context to run a given function or pattern.
template<typename ExecutionPolicy , typename Transformer >
auto grppi::run_with |
( |
ExecutionPolicy & |
ex, |
|
|
Transformer && |
transform_op |
|
) |
| |
Define a new Context on a data stream that can be composed in other streaming patterns.
- Template Parameters
-
Execution | Execution policy type. |
Transformer | Callable type for the transformation operation. |
- Parameters
-
ex | Execution policy object. |
transform_op | Transformer operation. |