Difference between revisions of "cpp/named req/RandomAccessIterator"
From cppreference.com
m (some fixes) |
(fmt) |
||
Line 8: | Line 8: | ||
===Requirements=== | ===Requirements=== | ||
− | * | + | * {{concept|BidirectionalIterator}} |
− | * | + | * {{concept|LessThanComparable}} |
Revision as of 10:54, 23 March 2012
Template:cpp/concept/title Template:cpp/concept/sidebar
An Iterator that can be moved to point to any element in constant time.
A standard pointer satisfies this concept.
Requirements
Expression | Return | Equivalent expression | Notes |
---|---|---|---|
Template:cpp | Template:cpp | Template:cpp |
|
Template:cpp | Template:cpp | Template:cpp | |
Template:cpp | Template:cpp | Template:cpp | |
Template:cpp | Template:cpp | Template:cpp | |
Template:cpp | Template:cpp | Template:cpp | |
Template:cpp | Template:cpp | Template:cpp | |
Template:cpp | Template:cpp | Template:cpp | Strict total ordering relation:
|
Template:cpp | Template:cpp | Template:cpp | |
Template:cpp | Template:cpp | Template:cpp | |
Template:cpp | Template:cpp | Template:cpp |
Table Notes
It
is the type implementing this concepti
,a
,b
are objects of typeIt
n
is an integer of typedifference_type