std::ranges::take_while_view<V,Pred>::end
From cppreference.com
 
 
 < cpp | ranges | take while view 
 
 
 C++ 
 Feature test macros (C++20)
 Concepts library (C++20)
 Metaprogramming library (C++11)
 Ranges library (C++20)
 Filesystem library (C++17)
 Concurrency support library (C++11)
 Execution control library (C++26)
Ranges library 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
  
 
 
 
 
 
 
 
 
 
 
 
 
	
		
(C++23)(C++23)
  (C++23)(C++23)
(C++23)(C++23)
  (C++26)(C++26)
(C++23)(C++23)
(C++23)(C++23)
(C++23)(C++23)
(C++23)(C++23)
  (C++23)(C++23)
(C++23)
(C++23)(C++23)
(C++23)
(C++23)(C++23)
(C++23)(C++23)
(C++23)(C++23)
(C++23)(C++23)
(C++23)(C++23)
(C++23)
    constexpr auto end() requires (!/*simple-view*/<V>);
 (1) 
 (since C++20) 
constexpr auto end() const requires
 (2) 
 (since C++20) 
    ranges::range <const V> &&
Returns a sentinel representing the end of the view.
Let base_ denote the underlying view.
1) Effectively returns /*sentinel*/<false>(ranges::end (base_), std::addressof (pred())).
2) Effectively returns /*sentinel*/<true>(ranges::end (base_), std::addressof (pred())).
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).
[edit] Parameters
(none)
[edit] Return value
A sentinel representing the end of the view.
[edit] Example
 This section is incomplete
Reason: no example
Reason: no example
[edit] Defect reports
The following behavior-changing defect reports were applied retroactively to previously published C++ standards.
| DR | Applied to | Behavior as published | Correct behavior | 
|---|---|---|---|
| LWG 3450 | C++20 | the const overload might return a sentinel non-comparable to the iterator | constrained |