#include <combinable.h>
Public Member Functions | |
template<typename F > | |
combinable (F initFunc) | |
combinable (const combinable &other) | |
combinable & | operator= (const combinable &other) |
void | clear () |
T & | local () |
T & | local (bool &exists) |
template<typename F > | |
T | combine (F f) |
template<typename F > | |
void | combine_each (F f) |
Provides a thread-local value which can then be combined into a single value when all work is complete.