Iterator library

Iterator library

The iterator library provides definitions for five kinds of iterators as well as iterator traits, adapters, and utility functions.

Iterator categories

There are five (until C++17)six (since C++17) kinds of iterators: InputIterator, OutputIterator, ForwardIterator, 登录查看完整内容