cpp/ranges/take view/begin

Returns an iterator to the first element of the.

@1@ Returns a or a. @2@ Returns 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, which is (for overload ) or  (for overload ).

Let be the underlying view,  be the number passed to the constructor ( if default initialized).