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
void move(tbb_thread &t1, tbb_thread &t2)
Meets "allocator" requirements of ISO C++ Standard, Section 20.1.5.
Thread-local storage with optional reduction.
tbb::enumerable_thread_specific< T, my_alloc, ets_no_key > my_ets_type
combinable(const combinable &other)
T combine(combine_func_t f_combine)
combinable & operator=(combinable &&other)
tbb::cache_aligned_allocator< T > my_alloc
void combine_each(combine_func_t f_combine)
combinable & operator=(const combinable &other)
combinable(combinable &&other)
The enumerable_thread_specific container.
T combine(combine_func_t f_combine)
void clear()
Destroys local copies.
void combine_each(combine_func_t f_combine)
reference local()
returns reference to local, discarding exists