GrPPI  0.2
Generic and Reusable Parallel Pattern Interface
Functions
Sequential map pattern

Sequential implementation of the Map pattern. More...

Collaboration diagram for Sequential map pattern:

Functions

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...
 

Detailed Description

Sequential implementation of the Map pattern.

Function Documentation

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
InputItIterator type used for input sequence.
OtuputItIterator type used for the output sequence.
TransformerCallable type for the transformation operation.
Parameters
exSequential execution policy object.
firstIterator to the first element in the input sequence.
lastIterator to one past the end of the input sequence.
first_outIterator to first elemento of the output sequence.
transf_opTransformation 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
InputItIterator type used for input sequence.
OtuputItIterator type used for the output sequence.
TransformerCallable type for the transformation operation.
OtherInputItsIterator types used for additional input sequences.
Parameters
exSequential execution policy object.
firstIterator to the first element in the input sequence.
lastIterator to one past the end of the input sequence.
first_outIterator to first elemento of the output sequence.
transf_opTransformation operation.
more_firstsAdditional iterators with first elements of additional sequences.