operator-(reverse_iterator)
From cppreference.com
< cpp | iterator | reverse iterator
template< class Iterator >
typename reverse_iterator<Iterator>::difference_type |
(until C++11) | |
template< class Iterator1, class Iterator2 >
auto operator-( const reverse_iterator<Iterator1>& lhs, |
(until C++11) | |
Returns the distance between two iterator adaptors.
[edit] Parameters
lhs, rhs | - | iterator adaptors to compute the difference of |
[edit] Return value
rhs.base() - lhs.base()
[edit] Example
This section is incomplete Reason: no example |