move_iterator::operator--
Pre- and postdecrement member operators perform a decrement on the stored iterator.
move_iterator& operator--();
move_iterator operator--();
Property Value/Return Value
The predecrement operator returns the value referenced by stored iterator after the decrement.
The postdecrement operator grabs a copy of the value referred to by the stored iterator before the decrement operation affects the stored iterator. The operator returns that value. The returned value is not affected by the decrement.
Remarks
The first member operator (predecrement) decrements the stored iterator. Then returns *this.
The second (postdecrement) operator makes a copy of *this, evaluates --*this. Then returns the copy.
Requirements
Header: <iterator>
Namespace: std