STAPL API Reference          
Overview   Containers   Algorithms   Views   Skeletons   Run-Time System
Modules     Classes    
List of all members | Public Member Functions
stapl::algo_details::max_element_reduce< T, Comparator > Struct Template Reference

Work function which reduces two pairs of index and values, selecting the pair with maximum value. More...

Public Member Functions

 max_element_reduce (Comparator comparator)
 
template<typename Reference >
operator() (Reference &&a, Reference &&b) const
 

Detailed Description

template<typename T, typename Comparator>
struct stapl::algo_details::max_element_reduce< T, Comparator >

Work function which reduces two pairs of index and values, selecting the pair with maximum value.

Template Parameters
TPair type which is reduced.
ComparatorComparison function which is called to determine the max.

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