Iterators Library

This chapter presents the concept of iterators in detail, defining and illustrating the five iterator categories of input iterators, output iterators, forward iterators, bidirectional iterators and random access iterators.

This chapter describes the components used in C++ programs to perform iterations for container classes, streams and stream buffers.

This chapter is constructed in the following sub sections and uses the ISO (International Organization for Standardization) C++ Standard as a guide: