- C++17 STL Cookbook
- Jacek Galowicz
- 54字
- 2025-04-04 19:00:07
Input iterator
Input iterators can be dereferenced only for reading the values they point to. Once they are incremented, the last value they pointed to has been invalidated during the incrementation. This means that it is not possible to iterate over such a range multiple times. The std::istream_iterator is an example for this category.