---
name: "__gnu_parallel::__accumulate_binop_reduct"
section: "3"
platform: "linux"
package: "gcc"
version: "16.2.1+r23+gd564253eb6c8-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/__gnu_parallel::__accumulate_binop_reduct"
---

# \_\_gnu\_parallel::\_\_accumulate\_binop\_reduct(3)

General reduction, using a binary operator.

## NAME

\_\_gnu\_parallel::\_\_accumulate\_binop\_reduct\< \_BinOp \> - General reduction, using a binary operator.

## SYNOPSIS

\#include \<for\_each\_selectors.h\>

### Public Member Functions

**\_\_accumulate\_binop\_reduct** (\_BinOp &\_\_b)\
 template\<typename \_Result, typename \_Addend\> \_Result **operator()** (const \_Result &\_\_x, const \_Addend &\_\_y)\

### Public Attributes

\_BinOp & **\_\_binop**\

## Detailed Description

### template\<typename \_BinOp\>

struct \_\_gnu\_parallel::\_\_accumulate\_binop\_reduct\< \_BinOp \>"General reduction, using a binary operator.

## Author

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