libostd
|
The input range tag. More...
The input range tag.
Every range type is identified by its tag, which essentially defines the capabilities of the range. Input range is the very basic one, it only has front element access and it doesn't guarantee that copies of the range won't alter other copies' state. On the other hand, as it provides almost no guarantees, it can be used for basically any object, for example I/O streams, where the current state is defined by the stream itself and therefore all ranges to it point to the same current state.
You can learn more about the characteristics here.