24
edits
Changes
no edit summary
}
</pre>
Some things to notice about this code are as follows. All of the reduce operations are done in the overloaded () operator. The <code>join()</code> and <code>Sum(Sum& s, split)</code> split constructor are needed to split the <code>blocked_range</code> , run the operations in parallel then join the results.