Iterator


Provide a way to access the elements of an aggregate object sequentially without exposing it underlying representation. (See also STL Iterators for an example of iterator use with template containers.)

Applicability

Consequences