Returns true if
y points past the N-th element (where N is the number passed to the constructor of
take_view), or if end of underlying view is reached.
The exposition-only alias template
add-const-if is defined as template<bool C, class T> using /*add-const-if*/ = std::conditional_t<C, const T, T>;.
These functions are not visible to ordinary unqualified or qualified lookup, and can only be found by argument-dependent lookup when
std::ranges::take_view::sentinel<Const> is an associated class of the arguments.
!= operator is synthesized from
|y||-||std::counted_iterator to compare|
|x||-||sentinel to compare|
 Return value
y.count() == 0 || y.base() == x.end_, where
end_ denotes the underlying sentinel.
|This section is incomplete|
Reason: no example
 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 3449||C++20|| comparison between the iterator and the sentinel of
|made supported when possible|