std::ranges...::operator*(3)

πŸ“¦ version 2024.07.05, in nixpkgs unstable, opensuse-leap 16.0

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