![]() |
VCCC
2024.05
VisualCamp Common C++ library
|
The concept random_access_iterator
refines bidirectional_iterator
by adding support for constant time advancement with the +=
, +
, -=
, and -
operators, constant time computation of distance with -
, and array notation with subscripting []
.
Unlike the LegacyRandomAccessIterator
requirements, the random_access_iterator
concept does not require dereference to return an lvalue.