std::move_iterator<Iter>::operator++,+,+=,--,-,-= (3) - Linux Manuals
std::move_iterator<Iter>::operator++,+,+=,--,-,-=: std::move_iterator<Iter>::operator++,+,+=,--,-,-=
NAME
std::move_iterator<Iter>::operator++,+,+=,--,-,-= - std::move_iterator<Iter>::operator++,+,+=,--,-,-=
Synopsis
move_iterator& operator++(); (until C++17)
constexpr move_iterator& operator++(); (since C++17)
move_iterator& operator--(); (until C++17)
constexpr move_iterator& operator--(); (since C++17)
move_iterator operator++( int ); (until C++17)
constexpr move_iterator operator++( int ); (since C++17)
move_iterator operator--( int ); (until C++17)
constexpr move_iterator operator--( int ); (1) (since C++17)
move_iterator operator+( difference_type n ) const; (2) (until C++17)
constexpr move_iterator operator+( difference_type n ) const; (3) (since C++17)
move_iterator operator-( difference_type n ) const; (4) (until C++17)
constexpr move_iterator operator-( difference_type n ) const; (5) (since C++17)
move_iterator& operator+=( difference_type n ); (6) (until C++17)
constexpr move_iterator& operator+=( difference_type n ); (7) (since C++17)
move_iterator& operator-=( difference_type n ); (8) (until C++17)
constexpr move_iterator& operator-=( difference_type n ); (since C++17)
Increments or decrements the iterator.
1-2) Pre-increments or pre-decrements by one respectively.
3-4) Post-increments or post-decrements by one respectively.
5-6) Returns an iterator which is advanced by n or -n positions respectively.
7-8) Advances the iterator by n or -n positions respectively.
Return value
1-2) *this
3-4) a copy of *this that was made before the change
5-6) move_iterator(base()+n) or move_iterator(base()-n) respectively.
7-8) *this
Example
This section is incomplete
Reason: no example
See also
operator+ (function template)