Polymorphic implementation of Map pattern.
More...
|
template<typename InputIt , typename OutputIt , typename Transformer > |
void | grppi::map (polymorphic_execution &ex, InputIt first, InputIt last, OutputIt first_out, Transformer &&transf_op) |
| Invoke map-pattern on a data sequence with polymorphic execution. More...
|
|
template<typename InputIt , typename OutputIt , typename InputIt2 , typename Transformer , typename... OtherInputIts> |
void | grppi::map (polymorphic_execution &ex, InputIt first, InputIt last, OutputIt first_out, Transformer &&op, InputIt2 first2, OtherInputIts...more_firsts) |
| Invoke map-pattern on a data sequence with polymorphic parallel execution. More...
|
|
Polymorphic implementation of Map pattern.
template<typename InputIt , typename OutputIt , typename Transformer >
void grppi::map |
( |
polymorphic_execution & |
ex, |
|
|
InputIt |
first, |
|
|
InputIt |
last, |
|
|
OutputIt |
first_out, |
|
|
Transformer && |
transf_op |
|
) |
| |
Invoke map-pattern on a data sequence with polymorphic 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 | Polymorphic 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 InputIt2 , typename Transformer , typename... OtherInputIts>
void grppi::map |
( |
polymorphic_execution & |
ex, |
|
|
InputIt |
first, |
|
|
InputIt |
last, |
|
|
OutputIt |
first_out, |
|
|
Transformer && |
op, |
|
|
InputIt2 |
first2, |
|
|
OtherInputIts... |
more_firsts |
|
) |
| |
Invoke map-pattern on a data sequence with polymorphic parallel 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 | Polymorphic 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. |
op | Transformation operation. |
more_firsts | Additional iterators with first elements of additional sequences. |