operator==(ranges::take_view::sentinel)
From cppreference.com
| friend constexpr bool operator==( const std::counted_iterator<ranges::iterator_t<Base>>& y, const /*sentinel*/& x ) |
(since C++20) | |
Compares a take_view::/*sentinel*/ with a std::counted_iterator (typically obtained from a call to take_view::begin).
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.
Parameters
| 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
Example
| This section is incomplete Reason: no example |