combinable::local Method
Returns a reference to the thread-private sub-computation.
_Ty& local();
_Ty& local(
bool& _Exists
);
Parameters
- _Exists
A reference to a boolean. The boolean value referenced by this argument will be set to true if the sub-computation already existed on this thread, and set to false if this was the first sub-computation on this thread.
Return Value
A reference to the thread-private sub-computation.
Requirements
Header: ppl.h
Namespace: concurrency