API
Classes
| Name | Description |
|---|---|
back_insert_iterator |
An output iterator that appends elements to a container. |
default_sentinel_t |
Tag type used to mark the end of an iteration. |
front_insert_iterator |
An output iterator that prepends elements to a container. |
iterator_difference |
The difference type of an iterator. |
iterator_pointer |
The pointer type of an iterator. |
iterator_reference |
The reference type of an iterator. |
iterator_value |
The value type of an iterator. |
move_iterator |
An iterator that yields rvalue references to the elements of the underlying iterator. |
move_sentinel |
A sentinel that marks the end of a sequence of move iterators. |
reverse_iterator |
An iterator that reverses the direction of another iterator. |
Concepts
| Name | Description |
|---|---|
bidirectional_iterator |
Concept for bidirectional iterators. |
contiguous_iterator |
Concept for contiguous iterators. |
forward_iterator |
Concept for forward iterators. |
input_iterator |
Concept for input iterators, whose dereference is convertible to their value type. |
iterator |
Concept for iterators that can be incremented. |
output_iterator |
Concept for output iterators. |
random_access_iterator |
Concept for random access iterators. |
sentinel_for |
Concept for sentinels that mark the end of an iteration. |
Functions
| Name | Description |
|---|---|
advance |
Advances the iterator by n positions. |
distance |
Returns the number of positions between the first and last iterators. |
next |
Returns a copy of the iterator advanced by n positions. |
prev |
Returns a copy of the iterator backtracked by n positions. |