ParallelReduceBody¶
[req.parallel_reduce_body]
A type Body satisfies the ParallelReduceBody if it meets the following requirements:
ParallelReduceBody Requirements: Pseudo-Signature, Semantics
-
Body
::
Body
(Body&, split)¶ Splitting constructor. Must be able to run concurrently with
operator()
and methodjoin
.
-
Body
::
~Body
() Destructor.
-
void
Body
::
operator()
(const Range &range)¶ Accumulate result for subrange.
Range
type shall meet the Range requirements.
-
void
Body
::
join
(Body &rhs)¶ Join results. The result in rhs should be merged into the result of
this
.
See also: