17 #ifndef __TBB_combinable_H 18 #define __TBB_combinable_H 20 #define __TBB_combinable_H_include_area 44 template <
typename finit>
52 #if __TBB_ETS_USE_CPP11 61 #if __TBB_ETS_USE_CPP11 75 template <
typename combine_func_t>
79 template <
typename combine_func_t>
86 #undef __TBB_combinable_H_include_area
combinable & operator=(const combinable &other)
combinable(const combinable &other)
reference local()
returns reference to local, discarding exists
combinable & operator=(combinable &&other)
Thread-local storage with optional reduction.
T combine(combine_func_t f_combine)
T combine(combine_func_t f_combine)
The enumerable_thread_specific container.
void clear()
Destroys local copies.
tbb::cache_aligned_allocator< T > my_alloc
Meets "allocator" requirements of ISO C++ Standard, Section 20.1.5.
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(combinable &&other)
void move(tbb_thread &t1, tbb_thread &t2)