std::ranges::chunk_view::begin - cppreference.com (original) (raw)

V models only input_range
constexpr /*outer_iterator*/ begin(); (1) (since C++23)
V models forward_range
constexpr auto begin() requires (!/*simple_view*/<V>); (2) (since C++23)
constexpr auto begin() const requires ranges::forward_range<const V>; (3) (since C++23)

Returns an iterator to the first element of the chunk_view.

[edit] Return value

An iterator to the first element of the chunk_view, as described above.

[edit] Example

[edit] See also

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