Parallel iteration#

Member types concurrent_vector::range_type and concurrent_vector::const_range_type meet the ContainerRange requirements.

These types differ only in that the bounds for a concurrent_vector::const_range_type are of type concurrent_vector::const_iterator, whereas the bounds for a concurrent_vector::range_type are of type concurrent_vector::iterator.

range member function#

range_type range( size_type grainsize = 1 );

const_range_type range( size_type grainsize = 1 ) const;

Returns: a range object representing all elements in the container.