STAPL API Reference          
Overview   Containers   Algorithms   Views   Skeletons   Run-Time System
Modules     Classes    
List of all members | Public Member Functions | Public Types
stapl::metadata::detail::plus< Operand, Size > Struct Template Reference

Operator used by growable_container for prefix scan algorithm call. More...

Public Member Functions

template<typename Reference1 , typename Reference2 >
Operand operator() (Reference1 x, Reference2 y) const
 

Public Types

typedef Operand first_argument_type
 
typedef Operand second_argument_type
 
typedef Operand result_type
 

Detailed Description

template<typename Operand, typename Size>
struct stapl::metadata::detail::plus< Operand, Size >

Operator used by growable_container for prefix scan algorithm call.

Template Parameters
OperandThe operand type this binary operator receives.
SizeUnused template parameter used to make this type dependent on growable_container, thus delaying the full instantiation of the class template until after the prefix_scan call is parsed. This lazy evaluation breaks the cyclic file dependence between the paragraph and coarsening.

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