Intel(R) Threading Building Blocks Doxygen Documentation
version 4.2.3
|
Go to the documentation of this file.
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
Meets "allocator" requirements of ISO C++ Standard, Section 20.1.5.
combinable(combinable &&other)
combinable & operator=(const combinable &other)
void move(tbb_thread &t1, tbb_thread &t2)
combinable & operator=(combinable &&other)
void combine_each(combine_func_t f_combine)
reference local()
returns reference to local, discarding exists
combinable(const combinable &other)
T combine(combine_func_t f_combine)
Thread-local storage with optional reduction.
void combine_each(combine_func_t f_combine)
tbb::cache_aligned_allocator< T > my_alloc
tbb::enumerable_thread_specific< T, my_alloc, ets_no_key > my_ets_type
T combine(combine_func_t f_combine)
The enumerable_thread_specific container.
void clear()
Destroys local copies.
Copyright © 2005-2019 Intel Corporation. All Rights Reserved.
Intel, Pentium, Intel Xeon, Itanium, Intel XScale and VTune are
registered trademarks or trademarks of Intel Corporation or its
subsidiaries in the United States and other countries.
* Other names and brands may be claimed as the property of others.