public member function
<iterator>

std::move_iterator::base

iterator_type base() const;
Return base iterator
Returns a copy of the base iterator.

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

All iterator operations performed on the move_iterator are reflected on its base constructor.

Parameters

none

Return value

A copy of the base iterator.
Member type iterator_type is the underlying iterator type (the class template parameter: Iterator).

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 copy constructor of the base iterator.

See also