ParallelReduceFunc

[req.parallel_reduce_body]

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


ParallelReduceFunc Requirements: Pseudo-Signature, Semantics

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

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

See also: