On this page
operator-(std::move_iterator)
|
(since C++11) (until C++17) |
|
|
(since C++17) |
Returns the distance between two iterator adaptors.
Parameters
lhs, rhs | - | iterator adaptors to compute the difference of |
Return value
lhs.base() - rhs.base()
Example
See also
(C++11)
|
advances or decrements the iterator (public member function) |
(C++11)
|
advances the iterator (function template) |
© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/w/cpp/iterator/move_iterator/operator-