Class Body
implementing the concept of parallel_scan body must define:
Body::Body( Body&,
split );
Dummy type that distinguishes splitting constructor from copy constructor.
Splitting constructor. Split b
so that this
and b
can accumulate separately
- Destructor
Used to indicate that the initial scan is being performed.
Preprocess iterations for range r
Used to indicate that the final scan is being performed.
Do final processing for iterations of range r
void Body::reverse_join( Body& a );
Merge preprocessing state of a
into this
, where a
was created earlier from b
by b's splitting constructor