std::ranges...m_view::end(3)
π std::ranges...m_view::end(3) π
okay bestie, welcome to the C++ Standard Libary corner of the group chat π this page is all about std::ranges::zip_transform_view::end, and it is lowkey iconic. no cap.
πΈ NAME πΈ
std::ranges::zip_transform_view::endβstd::ranges::zip_transform_view::end(yes, twice, periodt β¨)
β¨ SYNOPSIS β¨
constexpr auto end(); (1)
(since C++23)
constexpr auto end() const
requires ranges::range<const /*InnerView*/> && (2)
(since C++23)
std::regular_invocable<const F&,
ranges::range_reference_t<const Views>...>;
okay so this whole thing returns an iterator or a sentinel that compares equal to the end iterator of the zip_transform_view π¦ literally that's the vibe.
Let zip_ denote the underlying tuple of views:
1) Equivalent to:
if constexpr (ranges::common_range</*InnerView*/>)
return /*iterator*/<false>(*this, zip_.end());
else
return /*sentinel*/<false>(zip_.end());
2) Equivalent to:
if constexpr (ranges::common_range<const /*InnerView*/>)
return /*iterator*/<true>(*this, zip_.end());
else
return /*sentinel*/<true>(zip_.end());
π PARAMETERS π
(none) β not me having zero parameters and still serving main character energy π
π RETURN VALUE π
An iterator or sentinel representing the end of the zip_transform_view, as described above. slay β¨
π¦ EXAMPLE π¦
This section is incomplete.
Reason: no example.
ngl, it's giving placeholder energy π
π 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
made with π from http://cppreference.com, dated 2024.06.10 β stay slay, bestie π«Άπ
π¦ 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