STAPL API Reference          
Overview   Containers   Algorithms   Views   Skeletons   Run-Time System
Modules     Classes    
List of all members | Public Member Functions | Public Types
stapl::transform_assign< Functor > Struct Template Reference

Function which applies given functor to its first argument(s), and assigns the result to its last argument. More...

Public Member Functions

 transform_assign (Functor const &f)
 
template<typename Ref1 , typename Ref2 >
void operator() (Ref1 x, Ref2 y)
 
template<typename Ref1 , typename Ref2 , typename Ref3 >
void operator() (Ref1 x, Ref2 y, Ref3 z)
 

Public Types

typedef void result_type
 

Detailed Description

template<typename Functor>
struct stapl::transform_assign< Functor >

Function which applies given functor to its first argument(s), and assigns the result to its last argument.

Template Parameters
FunctorFunctor to apply to the arguments.

The documentation for this struct was generated from the following file: