Intel® oneAPI Threading Building Blocks Developer Guide and API Reference
ContainerRange
[req.container_range]
ContainerRange is a range that represents a concurrent container or a part of the container.
The ContainerRange object can be used to traverse the container in parallel algorithms like parallel_for.
The type CR satisfies the ContainerRange requirements if:
The type CR meets the requirements of Range requirements.
The type CR provides the following member types and functions:
typeCR::value_type
The type of the item in the range.
typeCR::reference
Reference type to the item in the range.
typeCR::const_reference
Constant reference type to the item in the range.
typeCR::iterator
Iterator type for range traversal.
typeCR::size_type
Unsigned integer type for obtaining grain size.
typeCR::difference_type
The type of the difference between two iterators.
iteratorCR::begin()
Returns an iterator to the beginning of the range.
iteratorCR::end()
Returns an iterator to the position that follows the last element in the range.
size_typeCR::grainsize()const
Returns the range grain size.