RandomAccessIterator
C++ concepts: RandomAccessIterator
A RandomAccessIterator
is a BidirectionalIterator
that can be moved to point to any element in constant time.
A pointer to an element of an array satisfies all requirements of RandomAccessIterator
.
Requirements
The type It
satisfies RandomAccessIterator
if.
- The type
It
satisfiesBidirectionalIterator
And, given.
-
value_type
, the type denoted bystd::iterator_traits<登录查看完整内容