---
name: "__gnu_parallel::__accumulate_binop_reduct"
section: "3cxx"
platform: "linux"
package: "libstdc++-12-doc"
version: "12.4.0-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/__gnu_parallel::__accumulate_binop_reduct/3cxx"
---

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

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.
