std::ranges...::operator*(3)
std::ranges...::operator*(3) π β¨
okay bestie, welcome to the C++ Standard Libary corner of the group chat π«Ά this page is all about std::ranges::enumerate_view::iterator::operator*, and ngl itβs a tiny icon. no cap.
β¨ NAME β¨
Two name lines, same energy, zero skips:
std::ranges::enumerate_view::iterator::operator*std::ranges::enumerate_view::iterator::operator*
π«Ά Synopsis π«Ά
Hereβs the whole signature, and yes itβs giving main character energy:
constexpr auto operator*() const; (since C++23)
What it does? It returns the current element in the enumerate_view π literally thatβs the whole vibe. No cap.
Equivalent to:
return reference-type(pos_, *current_);
πΈ Parameters πΈ
(none)β bestie, there are literally no parameters here. Zero. Zilch. Iconic. π
π Return value π
- The current element. π Thatβs it. Thatβs the return.
π Example π
This section is incomplete Reason: no example
no example bestie, weβre not gonna lie to you π
π¦ See also π¦
operator[]β accesses an element by index (C++23) (public member function)
π Category π
* Todo no example
mwah π β source/version: http://cppreference.com, date: 2024.06.10, page: std::ranges...::operator*(3).
π¦ 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