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

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

Returns an iterator to the first element of the view.

Effectively returns ranges::begin(base_), where base_ is 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

ranges::begin(base_), where base_ is the underlying view

Example

See also

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