public member function


pointer operator->() const;
Dereference iterator
Returns a copy of the base iterator (in order to access one of its members).

The base iterator is the underlying iterator used by the move_iterator.



Return value

The base iterator.
Member type pointer (like iterator_type) is an alias of the underlying iterator type (the class template parameter: Iterator). This is not necessary a pointer type, but if the returning type is a class, C++ forwards the operator-> call to that class (as many times as necessary, until a non-class type is returned).

Data races

The object is accessed.
The iterator returned can be used to access or modify elements.

Exception safety

Provides the same level of guarantee as the operations internally applied to the base iterator.

See also