Sequential implementation of the Map pattern.
More...
|
template<typename InputIt , typename OutputIt , typename Transformer > |
void | grppi::map (sequential_execution &ex, InputIt first, InputIt last, OutputIt first_out, Transformer &&transf_op) |
| Invoke Map pattern on a data sequence with sequential execution. More...
|
|
template<typename InputIt , typename OutputIt , typename Transformer , typename... OtherInputIts> |
void | grppi::map (sequential_execution &ex, InputIt first, InputIt last, OutputIt first_out, Transformer &&transf_op, OtherInputIts...other_firsts) |
| Invoke Map pattern on a data sequence with sequential execution. More...
|
|
Sequential implementation of the Map pattern.
template<typename InputIt , typename OutputIt , typename Transformer >
void grppi::map |
( |
sequential_execution & |
ex, |
|
|
InputIt |
first, |
|
|
InputIt |
last, |
|
|
OutputIt |
first_out, |
|
|
Transformer && |
transf_op |
|
) |
| |
Invoke Map pattern on a data sequence with sequential execution.
- Template Parameters
-
InputIt | Iterator type used for input sequence. |
OtuputIt | Iterator type used for the output sequence. |
Transformer | Callable type for the transformation operation. |
- Parameters
-
ex | Sequential execution policy object. |
first | Iterator to the first element in the input sequence. |
last | Iterator to one past the end of the input sequence. |
first_out | Iterator to first elemento of the output sequence. |
transf_op | Transformation operation. |
template<typename InputIt , typename OutputIt , typename Transformer , typename... OtherInputIts>
void grppi::map |
( |
sequential_execution & |
ex, |
|
|
InputIt |
first, |
|
|
InputIt |
last, |
|
|
OutputIt |
first_out, |
|
|
Transformer && |
transf_op, |
|
|
OtherInputIts... |
other_firsts |
|
) |
| |
Invoke Map pattern on a data sequence with sequential execution.
- Template Parameters
-
InputIt | Iterator type used for input sequence. |
OtuputIt | Iterator type used for the output sequence. |
Transformer | Callable type for the transformation operation. |
OtherInputIts | Iterator types used for additional input sequences. |
- Parameters
-
ex | Sequential execution policy object. |
first | Iterator to the first element in the input sequence. |
last | Iterator to one past the end of the input sequence. |
first_out | Iterator to first elemento of the output sequence. |
transf_op | Transformation operation. |
more_firsts | Additional iterators with first elements of additional sequences. |