std::ranges::take_while_view<V,Pred>::end

From cppreference.com
 
 
 
 
constexpr auto end() requires (!__SimpleView<V>);
(1) (since C++20)
constexpr auto end() const requires ranges::range<const V>;
(2) (since C++20)

Returns a sentinel representing the end of the view.

1) Effectively returns /*sentinel*/<false>(ranges::end(base_), std::addressof(pred())), where base_ denotes the underlying view.
2) Effectively returns /*sentinel*/<true>(ranges::end(base_), std::addressof(pred())), where base_ denotes the underlying view.

Overload (1) does not participate in overload resolution if V is a simple view (that is, if V and const V are views with the same iterator and sentinel types).

Parameters

(none)

Return value

sentinel representing the end of the view

Example

See also

returns an iterator to the beginning
(public member function)
compares a sentinel with an iterator returned from take_while_view::begin
(function)