move_iterator::operator*
Dereferences the stored iterator and returns the value. This behaves like an rvalue reference and performs a move assignment. The operator transfers the current element out of the base iterator. The element that follows becomes the new current element.
reference operator*() const;
Property Value/Return Value
Returns the current element in the manner of an rvalue reference where the element is moved out of the base iterator.
Remarks
The operator returns (reference)*base().
Requirements
Header: <iterator>
Namespace: std