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.
© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
http://en.cppreference.com/w/cpp/ranges/RandomAccessRange