std::ranges::RandomAccessRange

< cpp‎ | ranges
Defined in header <ranges>
template<class T>

  concept RandomAccessRange =

    BidirectionalRange<T> && RandomAccessIterator<iterator_t<T>>;

The RandomAccessRange concept is a refinement of Range for which ranges::begin returns a model of RandomAccessIterator.