std::ranges...m_view::base(3)

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

🌸 NAME 🌸

Bestie, you're on the std::ranges::transform_view::base page from the C++ Standard Libary manual β€” the header even says std::ranges...m_view::base(3), iconic truncation πŸ’….

  • std::ranges::transform_view::base β€” std::ranges::transform_view::base

That's the whole NAME section. No notes. Periodt. πŸ‘‘


✨ Synopsis ✨

Ok so the synopsis is giving two overloads, both constexpr, both since C++20:

          constexpr V base() const& requires std::copy_constructible<V>; (1)
       (since C++20)
          constexpr V base() &&;                                         (2)
       (since C++20)

Returns a copy of the underlying view. Simple. Slay. πŸ’–

  1. Overload (1) β€” copy constructs the result from the underlying view. It's the const& one, and it requires std::copy_constructible<V>.
  2. Overload (2) β€” move constructs the result from the underlying view. It's the && one.

πŸŽ€ Parameters πŸŽ€

(none) β€” literally none. Zero. Zilch. Not a single parameter in sight. 🫢


πŸ’– Return value πŸ’–

A copy of the underlying view. That's the vibe. ✨


πŸ¦‹ Example πŸ¦‹

This section is incomplete. Reason: no example πŸ™ˆ

πŸ‘‘ Category πŸ‘‘

  • Todo no example β€” yes bestie, that is the category, and it's lowkey begging for an example. 😭

xoxo, bestie πŸ’– β€” sourced from http://cppreference.com, dated 2024.06.10, and the footer page tag is std::ranges...m_view::base(3). Periodt. πŸ‘‘

πŸ“¦ where this page comes from