GNU g++  v5.2.1
GNU Standard C++
__gnu_parallel::__max_element_reduct< _Compare, _It > Struct Template Reference

Reduction for finding the maximum element, using a comparator. More...

#include <for_each_selectors.h>

Collaboration diagram for __gnu_parallel::__max_element_reduct< _Compare, _It >:

Public Member Functions

 __max_element_reduct (_Compare &__c)
 
_It operator() (_It __x, _It __y)
 

Public Attributes

_Compare & __comp
 

Detailed Description

template<typename _Compare, typename _It>
struct __gnu_parallel::__max_element_reduct< _Compare, _It >

Reduction for finding the maximum element, using a comparator.

Constructor & Destructor Documentation

template<typename _Compare , typename _It >
__gnu_parallel::__max_element_reduct< _Compare, _It >::__max_element_reduct ( _Compare &  __c)
inlineexplicit

Member Function Documentation

template<typename _Compare , typename _It >
_It __gnu_parallel::__max_element_reduct< _Compare, _It >::operator() ( _It  __x,
_It  __y 
)
inline

Member Data Documentation

template<typename _Compare , typename _It >
_Compare& __gnu_parallel::__max_element_reduct< _Compare, _It >::__comp

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