operator-(std::move_iterator)
From cppreference.com
< cpp | iterator | move iterator
Defined in header <iterator>
|
||
template< class Iter1, class Iter2 > auto operator-( const move_iterator<Iter1>& lhs, |
(since C++11) (constexpr since C++17) |
|
Returns the distance between two iterator adaptors.
Contents |
[edit] Parameters
lhs, rhs | - | iterator adaptors to compute the difference of |
[edit] Return value
lhs.base() - rhs.base()
[edit] Example
This section is incomplete Reason: no example |
[edit] See also
advances or decrements the iterator (public member function) | |
(C++11) |
advances the iterator (function template) |