std::ranges...by_view::end(3)
okay so bestie, welcome to the std::ranges...by_view::end(3) page from the C++ Standard Libary β¨π
. This is the manual page for std::ranges::chunk_by_view::end, and the title and NAME are lowkey twinning β iconic behavior, fr fr π«Ά.
π NAME π
std::ranges::chunk_by_view::end β std::ranges::chunk_by_view::end
πΈ Synopsis πΈ
constexpr auto end(); (since C++23)
Returns an iterator or a sentinel representing the end of the chunk_by_view.
Equivalent to:
if constexpr (ranges::common_range<V>)
return /*iterator*/(*this, ranges::end(base_), ranges::end(base_));
else
return std::default_sentinel;
π¦ Parameters π¦
(none) β literally nothing to pass here, bestie π«Ά
π Return value π
An iterator to the element following the last element, or a sentinel which compares equal to the end iterator. π
β¨ Notes β¨
end() returns an iterator if and only if the underlying view is a common_range:
chunk_by_view<V,Pred> models common_range whenever V does.
π Example π
This section is incomplete
Reason: no example π
π See also π
beginβ returns an iterator to the beginning(C++23)(public member function)ranges::endβ returns a sentinel indicating the end of a range(C++20)(customization point object)
Category
* Todo no example
mwah π β source/version: http://cppreference.com, dated 2024.06.10, and the page is std::ranges...by_view::end(3). periodt π
π¦ where this page comes from
- nixpkgs unstable: stdman 2024.07.05
- opensuse-leap 16.0: stdman 2024.07.05-bp160.1.9 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms