std::ranges...::operator*(3)
okay so bestie, welcome to the std::ranges...::operator*(3) page from the C++ Standard Libary manual (section 3) π yes, the manual name is spelled like that on the page, and we are not fixing it β we are respecting her journey π
πΈ NAME πΈ
std::ranges::cartesian_product_view::iterator::operator* β std::ranges::cartesian_product_view::iterator::operator*
yes, she said it twice β it's giving main character energy, and honestly? Iconic π
β¨ Synopsis β¨
constexpr auto operator*() const; (since C++23)
This one returns the current element in the cartesian_product_view. Equivalent to:
return /*tuple-transform*/([](auto& i) -> decltype(auto) { return *i;
}, current_);.
π Parameters π
(none) β no parameters, bestie. Zero. Zilch. Not a single little argument to hand over π
πΈ Return value πΈ
The current element. That's the whole return value, and she ate π
π¦ Example π¦
This section is incomplete.
Reason: no example
Not me showing up with no example π but that's literally what the page says.
π₯ See also π₯
operator[]β accesses an element by index(C++23)(public member function)
π Category π
* Todo no example
todo energy, no cap π
source/version: http://cppreference.com Β· date: 2024.06.10 β mwah π go dereference your dreams, 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