Standard C++ Library Class Reference
Click on the banner to return to the Class Reference home page.
©Copyright 1996 Rogue Wave Software
Random Access Iterators
Iterator
Summary
An iterator that reads and writes, and provides random access to a container.
Contents
Description●
Key to Iterator Requirements●
Requirements for Random Access Iterators●
See Also●
Description
For a complete discussion of iterators, see the Iterators section of this reference.
Iterators are a generalization of pointers that allow a C++ program to uniformly interact with
different data structures. Random access iterators can read and write, and provide random
access to the containers they serve. These iterators satisfy the requirements listed below.
Key to Iterator Requirements
The following key pertains to the iterator requirements listed below:
a and b values of type X
n value of distance type
u, Distance, tmp and m identifiers