24 Iterators library [iterators]

24.1 General [iterators.general]

This Clause describes components that C++ programs may use to perform iterations over containers (Clause [containers]), streams ([iostream.format]), and stream buffers ([stream.buffers]).

The following subclauses describe iterator requirements, and components for iterator primitives, predefined iterators, and stream iterators, as summarized in Table [tab:iterators.lib.summary].

Table 104 — Iterators library summary
Subclause Header(s)
[iterator.requirements] Requirements
[iterator.primitives] Iterator primitives <iterator>
[predef.iterators] Predefined iterators
[stream.iterators] Stream iterators