libstdc++
__gnu_parallel::__max_element_reduct< _Compare, _It > Struct Template Reference

#include <for_each_selectors.h>

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.

Definition at line 321 of file for_each_selectors.h.

Constructor & Destructor Documentation

◆ __max_element_reduct()

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

Definition at line 326 of file for_each_selectors.h.

Member Function Documentation

◆ operator()()

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

Definition at line 329 of file for_each_selectors.h.

Member Data Documentation

◆ __comp

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

Definition at line 323 of file for_each_selectors.h.


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