std::ranges::subrange<I,S,K>::begin - cppreference.com

From cppreference.com

constexprIbegin()constrequiresstd::copyable<I>; (1) (since C++20)constexprIbegin()requires(!std::copyable<I>); (2) (since C++20)Obtains the iterator to the beginning of the

subrange

.

Return value

Example

See also

obtains the sentinel
(public member function)

[edit]

(C++11)(C++14)

returns an iterator to the beginning of a container or array
(function template)

[edit]

(C++20)

returns an iterator to the beginning of a range
(customization point object)

[edit]