std::ranges::lazy_split_view<V,Pattern>::begin - cppreference.com (original) (raw)

Returns an outer_iterator to the first element of the lazy_split_view.

Let _[base](../lazy%5Fsplit%5Fview.html#base "cpp/ranges/lazy split view")_ be the underlying view and _[current](../lazy%5Fsplit%5Fview.html#current "cpp/ranges/lazy split view")_ be the underlying caching object (may not be present).

  1. Equivalent to return /*outer_iterator*/<true>{*this, ranges::begin(base_)};.

[edit] Return value

outer_iterator to the first element.

[edit] Example

This section is incompleteReason: no 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] |