GrPPI  0.2
Generic and Reusable Parallel Pattern Interface
Functions
Polymorphic execution map pattern.

Polymorphic implementation of Map pattern. More...

Collaboration diagram for Polymorphic execution map pattern.:

Functions

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

Detailed Description

Polymorphic implementation of Map pattern.

Function Documentation

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
InputItIterator type used for input sequence.
OtuputItIterator type used for the output sequence.
TransformerCallable type for the transformation operation.
Parameters
exPolymorphic 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 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
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
exPolymorphic 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.
opTransformation operation.
more_firstsAdditional iterators with first elements of additional sequences.