Thread-local storage with optional reduction. More...
#include <combinable.h>
Public Member Functions | |
template<typename finit > | |
combinable (finit _finit) | |
~combinable () | |
destructor | |
combinable (const combinable &other) | |
combinable & | operator= (const combinable &other) |
void | clear () |
T & | local () |
T & | local (bool &exists) |
template<typename combine_func_t > | |
T | combine (combine_func_t f_combine) |
template<typename combine_func_t > | |
void | combine_each (combine_func_t f_combine) |
Thread-local storage with optional reduction.