On this page
operator+(std::move_iterator)
Defined in header <iterator> |
||
---|---|---|
|
(since C++11) (until C++17) |
|
|
(since C++17) |
it
incremented by n
.
This overload participates in overload resolution only if |
(since C++20) |
Parameters
n | - | the number of positions to increment the iterator |
it | - | the iterator adaptor to increment |
Return value
The incremented iterator, that is move_iterator<Iter>(it.base() + n)
.
Example
See also
(C++11)
|
advances or decrements the iterator (public member function) |
(C++11)
|
computes the distance between two iterator adaptors (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%2B