std::ranges::subrange<I,S,K>::begin - cppreference.com (original) (raw)

| | (1) | (since C++20) | | ------ | ------------- | | | (2) | (since C++20) |

Obtains the iterator to the beginning of the subrange.

range-begin-end.svg

[edit] Return value

[edit] Example

[edit] See also

| | obtains the sentinel (public member function) [edit] | | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | | returns an iterator to the beginning of a container or array (function template) [edit] | | | returns an iterator to the beginning of a range(customization point object)[edit] |