[Univ of Cambridge] [Dept of Engineering]
next up previous contents
Next: Strings Up: The Standard Library Previous: The Standard Library

Iterators

Iterators are like pointers. They save algorithm writers the worry of having to deal with the internals of containers. They come in various types: random access, bidirectional, forward, reverse, input, output. They can be const. Some containers support only some Iterator types (you can't for example randomly access a list). See the documentation for details.



Tim Love
2001-07-05