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

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

πŸ’… std::ranges...::operator*(3) πŸ’…

okay so this page is from the C++ Standard Libary manual β€” yes, that spelling is literally in the source, bestie, no cap β€” and the page tag is (3). Let’s get into it πŸŽ€


πŸŽ€ NAME πŸŽ€

This page is all about:

  • std::ranges::zip_view::iterator::operator* -
  • std::ranges::zip_view::iterator::operator*

✨ Synopsis ✨

constexpr auto operator*() const;  (since C++23)

It returns a std::tuple that consists of underlying pointed-to elements. 🌸

Let current_ denote the underlying tuple-like object that holds iterators to elements of adapted views. Equivalent to:

return /*tuple-transform*/([](auto& i) -> decltype(auto) { return *i;
       }, current_);

🌼 Parameters 🌼

(none) β€” literally none, bestie πŸ’–


πŸ’– Return value πŸ’–

The current tuple-like element. 🫢


πŸ¦‹ Notes πŸ¦‹

operator-> is not provided. That’s the whole note, periodt. πŸ’…


πŸ“ Example πŸ“

This section is incomplete.

Reason: no example 😭


πŸ‘‘ Category πŸ‘‘

* Todo no example


signed, your Unix bestie 🫢 β€” source/version: http://cppreference.com Β· date: 2024.06.10 Β· page: std::ranges...::operator*(3) ✨

πŸ“¦ where this page comes from