---
name: "__gnu_parallel::max_element_reduct"
section: "3cxx"
platform: "linux"
package: "libstdc++6-4.4-doc"
version: "4.4.7-2"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/__gnu_parallel::max_element_reduct/3cxx"
---

# \_\_gnu\_parallel::max\_element\_reduct(3cxx)

## NAME

\_\_gnu\_parallel::max\_element\_reduct\< Comp, It \> -

## SYNOPSIS

### Public Member Functions

**max\_element\_reduct** (Comp &c)\
 It **operator()** (It x, It y)\

### Public Attributes

Comp & **comp**\

## Detailed Description

### template\<typename Comp, typename It\>struct \_\_gnu\_parallel::max\_element\_reduct\< Comp, It \>

Reduction for finding the maximum element, using a comparator.

Definition at line 327 of file for\_each\_selectors.h.

## Author

Generated automatically by Doxygen for libstdc++ from the source code.
