std::move_iterator<Iter>::base
From cppreference.com
< cpp | iterator | move iterator
| (1) | ||
| iterator_type base() const; |
(since C++11) (until C++17) |
|
| constexpr iterator_type base() const; |
(since C++17) (until C++20) |
|
| constexpr iterator_type base() const&; |
(since C++20) | |
| constexpr iterator_type base() &&; |
(2) | (since C++20) |
Returns the underlying base iterator.
1) Copy constructs the return value from the underlying iterator. This overload only participates in overload resolution if
iterator_type satisfies copy_constructible. The behavior is undefined if iterator_type does not model copy_constructible. (since C++20)2) Move constructs the return value from the underlying iterator.
Parameters
(none)
Return value
Copy of the underlying iterator.
Exceptions
(none)
Example
| This section is incomplete Reason: no example |
See also
| (deprecated in C++20) |
accesses the pointed-to element (public member function) |