VCCC  2024.05
VisualCamp Common C++ library
random_access_iterator< I > Struct Template Reference

#include </home/jarvis/actions-runner/jarvis-vccc-2/_work/vccc/vccc/include/vccc/__iterator/random_access_iterator.hpp>

+ Inheritance diagram for random_access_iterator< I >:

Detailed Description

template<typename I>
struct vccc::random_access_iterator< I >

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 [].

Notes

Unlike the LegacyRandomAccessIterator requirements, the random_access_iterator concept does not require dereference to return an lvalue.

See also
std::random_access_iterator
bidirectional_iterator
contiguous_iterator

The documentation for this struct was generated from the following file: