Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

combinable::combine_each Method

Computes a final value from the set of thread-local sub-computations by calling the supplied combine functor once per thread-local sub-computation. The final result is accumulated by the function object.

template<
   typename _Function
>
void combine_each(
   _Function_FnCombine
) const;
_Function

The type of the function object that will be invoked to combine a single thread-local sub-computation.

_FnCombine

The functor that is used to combine one sub-computation. Its signature is void (T) or void (const T&), and must be associative and commutative.

Header: ppl.h

Namespace: Concurrency

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.