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 > | |
T | operator() (Reference &&a, Reference &&b) const |
Work function which reduces two pairs of index and values, selecting the pair with maximum value.
T | Pair type which is reduced. |
Comparator | Comparison function which is called to determine the max. |