17 #ifndef __TBB_combinable_H 18 #define __TBB_combinable_H 41 template <
typename finit>
49 #if __TBB_ETS_USE_CPP11 58 #if __TBB_ETS_USE_CPP11 72 template <
typename combine_func_t>
76 template <
typename combine_func_t>
void move(tbb_thread &t1, tbb_thread &t2)
void clear()
Destroys local copies.
T combine(combine_func_t f_combine)
Thread-local storage with optional reduction.
combinable(combinable &&other)
The enumerable_thread_specific container.
tbb::cache_aligned_allocator< T > my_alloc
Meets "allocator" requirements of ISO C++ Standard, Section 20.1.5.
T combine(combine_func_t f_combine)
tbb::enumerable_thread_specific< T, my_alloc, ets_no_key > my_ets_type
void combine_each(combine_func_t f_combine)
void combine_each(combine_func_t f_combine)
combinable(const combinable &other)
reference local()
returns reference to local, discarding exists
combinable & operator=(const combinable &other)
combinable & operator=(combinable &&other)