cpp/ranges/take view/end

Returns a sentinel or an iterator representing the end of the. The end of the is either one past the -th element in the underlying range, or the end of the underlying range if the latter has less than  elements.

@1@ Returns a, a , or a.

@2@ Returns a, a , or a.

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

Parameters
(none)

Return value
The result depends on the concepts satisfied by possibly const-qualified underlying view type, that is (for overload ) or  (for overload ).

Let be the underlying view.