W3cubDocs

/C++

std::ranges::enumerate_view<V>::sentinel<Const>::base

constexpr ranges::sentinel_t<Base> base() const;
(since C++23)

Returns the underlying sentinel. Equivalent to return end_;.

Parameters

(none).

Return value

A copy of the underlying sentinel.

Example

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