cpp / latest / iterator / move_sentinel / base.html /

std::move_sentinel<S>::base

constexpr S base() const;
(since C++20)

Returns the underlying base sentinel.

Parameters

(none).

Return value

The underlying sentinel.

Exceptions

May throw implementation-defined exceptions.

Example

See also

(C++11)
accesses the underlying iterator
(public member function of std::move_iterator<Iter>)

© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/w/cpp/iterator/move_sentinel/base