A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://en.cppreference.com/w/cpp/language/../algorithm/../../cpp/ranges/chunk_by_view/begin.html below:

std::ranges::chunk_by_view<V,Pred>::begin - cppreference.com

constexpr /*iterator*/ begin();

(since C++23)

Returns an iterator to the first element of the chunk_by_view.

Equivalent to:

The behavior is undefined if the underlying predicate pred_ does not contain a value.

[edit] Parameters

(none)

[edit] Return value

Iterator to the first element.

[edit] Notes

In order to provide the amortized constant-time complexity required by the range concept, this function caches the result within the data member begin_ for use on subsequent calls.

[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]

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4