libostd
ostd::input_range_tag Struct Reference

The input range tag. More...

Inheritance diagram for ostd::input_range_tag:
ostd::forward_range_tag ostd::bidirectional_range_tag ostd::random_access_range_tag ostd::finite_random_access_range_tag ostd::contiguous_range_tag

Detailed Description

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.

See also
ostd::output_range_tag, ostd::forward_range_tag

The documentation for this struct was generated from the following file: