# ParallelReduceFunc

[req.parallel_reduce_func]

A type Func satisfies ParallelReduceFunc if it meets the following requirements:

ParallelReduceFunc Requirements: Pseudo-Signature, Semantics

Value Func::operator()(const Range &range, Value &&x) const

  Accumulates values over `range`, starting with the initial value `x`. The `Range` type must meet the Range requirements. The `Value` type must be the same as the corresponding template parameter for the parallel_reduce algorithm.

See also:

- parallel_reduce algorithm

- parallel_deterministic_reduce algorithm