std::reverse_iterator::operator--,-=,-
From cppreference.com
< cpp | iterator | reverse iterator
reference& operator--(); |
(1) | |
reference operator--(int); |
(2) | |
reverse_iterator operator- (difference_type n) const; |
(3) | |
reverse_iterator& operator-=(difference_type n); |
(4) | |
Decrements the location of the Iterator. That effectively increments the base iterator.
[edit] Return value
1) *this
2) copy of *this that was made before the change
3) reverse_iterator(current+n)
4) *this
[edit] Example
This section is incomplete |
[edit] See also
increments the iterator (public member function) |