Intel® oneAPI Threading Building Blocks Developer Guide and API Reference
Iteration
Class template enumerable_thread_specific supports random access iterators, which enable iteration over the set of all elements in the container.
iteratorbegin()
Returns iterator pointing to the beginning of the set of elements.
iteratorend()
Returns iterator pointing to the end of the set of elements.
const_iteratorbegin()const
Returns const_iterator pointing to the beginning of the set of elements.
const_iteratorend()const
Returns const_iterator pointing to the end of the set of elements.
Class template enumerable_thread_specific supports const_range_type and range_type types, which model the ContainerRange requirement. The types differ only in that the bounds for a const_range_type are of type const_iterator, whereas the bounds for a range_type are of type iterator.
const_range_typerange(size_tgrainsize=1)const
Returns: A const_range_type representing all elements in *this. The parameter grainsize is in units of elements.
range_typerange(size_tgrainsize=1)
Returns: A range_type representing all elements in *this. The parameter grainsize is in units of elements.