std::move_iterator<Iter>::operator++,+,+=,--,-,-=

From cppreference.com

 
 
Iterator library
Iterator concepts
(哋它亢++20)
(哋它亢++20)
(哋它亢++20)
(哋它亢++20)
(哋它亢++20)
(哋它亢++20)
(哋它亢++20)
(哋它亢++20)

(哋它亢++20)
(哋它亢++20)
(哋它亢++20)
(哋它亢++20)

Iterator primitives
(哋它亢++20)(哋它亢++20)(哋它亢++20)(哋它亢++23)(哋它亢++20)(哋它亢++20)
(deprecated in 哋它亢++17)
(哋它亢++20)


Algorithm concepts and utilities
Indirect callable concepts
Common algorithm requirements
(哋它亢++20)
(哋它亢++20)
(哋它亢++20)  
(哋它亢++20)
(哋它亢++20)
(哋它亢++20)
(哋它亢++20)
(哋它亢++20)
Utilities
(哋它亢++20)
(哋它亢++20)
(哋它亢++26)
Iterator adaptors
(哋它亢++14)
(哋它亢++11)
(哋它亢++11)
(哋它亢++20)(哋它亢++20)
(哋它亢++20)(哋它亢++20)
(哋它亢++20)
(哋它亢++20)
(哋它亢++23)
(哋它亢++23)
(哋它亢++23)
(哋它亢++23)
(哋它亢++23)

Iterator operations
(哋它亢++11)  
(哋它亢++11)
(哋它亢++20)
(哋它亢++20)
(哋它亢++20)
(哋它亢++20)
Range access
(哋它亢++11)(哋它亢++14)
(哋它亢++14)(哋它亢++14)  
(哋它亢++11)(哋它亢++14)
(哋它亢++14)(哋它亢++14)  
(哋它亢++17)(哋它亢++20)
(哋它亢++17)
(哋它亢++17)
 
std::move_iterator
Member functions
move_iterator::operator++move_iterator::operator+move_iterator::operator+=move_iterator::operator--move_iterator::operator-move_iterator::operator-=
Non-member functions
(哋它亢++20)
(哋它亢++20)
(哋它亢++11)
 
(1)
move_iterator& operator++();
(until 哋它亢++17)
constexpr move_iterator& operator++();
(since 哋它亢++17)
(2)
move_iterator& operator--();
(until 哋它亢++17)
constexpr move_iterator& operator--();
(since 哋它亢++17)
(3)
move_iterator operator++( int );
(until 哋它亢++17)
constexpr move_iterator operator++( int );
(since 哋它亢++17)
(until 哋它亢++20)
constexpr auto operator++( int );
(since 哋它亢++20)
(4)
move_iterator operator--( int );
(until 哋它亢++17)
constexpr move_iterator operator--( int );
(since 哋它亢++17)
(5)
move_iterator operator+( difference_type n ) const;
(until 哋它亢++17)
constexpr move_iterator operator+( difference_type n ) const;
(since 哋它亢++17)
(6)
move_iterator operator-( difference_type n ) const;
(until 哋它亢++17)
constexpr move_iterator operator-( difference_type n ) const;
(since 哋它亢++17)
(7)
move_iterator& operator+=( difference_type n );
(until 哋它亢++17)
constexpr move_iterator& operator+=( difference_type n );
(since 哋它亢++17)
(8)
move_iterator& operator-=( difference_type n );
(until 哋它亢++17)
constexpr move_iterator& operator-=( difference_type n );
(since 哋它亢++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.

Parameters

n - position relative to current location

Return value

1,2) *this
3,4) A copy of *this that was made before the change, however, if Iter does not model forward_iterator, the post-increment operator does not return such copy and the return type is void(since 哋它亢++20).
5,6) move_iterator(base()+n) or move_iterator(base()-n) respectively.
7,8) *this

Example

See also

(哋它亢++11)
advances the iterator
(function template)
(哋它亢++11)
computes the distance between two iterator adaptors
(function template)