Input iterators Output Iterators
- Swappable: The value pointed to by these iterators can be exchanged or swapped.
In these two links it's stated that the value pointed to by input iterators or output iterators can be exchanged or swapped. I'm not sure what they mean. In case of input iterators how would you change the value pointed to when you can't assign to them? In case of output iterators, how would you know what value to write when you can't read values?
Also it's stated that the output iterators cannot be compared for equality. Why?