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

This struct uses the Op and computes the result of the application of Op to the pair of an offset given by Value and elements of an input given by Values. More...

Public Member Functions

 add_to_all_op (Op const &op)
 
template<typename Value , typename Values >
result_type operator() (Value v, Values const &ts) const
 

Public Types

using value_type = typename Op::result_type
 
using result_type = std::vector< value_type >
 

Detailed Description

template<typename Op>
struct stapl::skeletons::scan_helpers::add_to_all_op< Op >

This struct uses the Op and computes the result of the application of Op to the pair of an offset given by Value and elements of an input given by Values.

Template Parameters
Opthe operation to be applied

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