ParallelReduceFunc

[req.parallel_reduce_body]

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


ParallelReduceFunc Requirements: Pseudo-Signature, Semantics

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

Accumulate result for subrange, starting with initial value x. Range type shall meet the Range requirements. Value type must be the same as a corresponding template parameter for parallel_reduce algorithm algorithm.

See also: