The base iterator is an iterator of the same type as the one used to construct the reverse_iterator, but pointing to the element next to the one the reverse_iterator is currently pointing to (a reverse_iterator has always an offset of -1 with regards to its base iterator).
Parameters
noneReturn value
The base iterator, which iterates in the opposite direction.Iterator is reverse_iterator's template parameter (the type of the base iterator).
Example
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
|
Output:
0 1 2 3 4 5 6 7 8 9 |
