Iterator library
From cppreference.com
Iterators are a generalization of pointers that allow C++ programs to access different containers in a uniform manner. Any algorithm that accepts iterators should accept regular pointers also.
Five iterator categories are defined, according to operations defined on them:
|
|
|
|
|
|
|
|
|
|
Forward iterators satisfy the requirements of input iterators