cpp / latest / ranges / take_view / sentinel / base.html /

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

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

Returns the underlying sentinel.

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/take_view/sentinel/base