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

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

🌸 NAME 🌸

okay so bestie, this is the manual page for std::ranges::enumerate_view::base from the C++ Standard Libary β€” yes, spelled exactly like that in the source. The header line says std::ranges...e_view::base(3), and the NAME line spells it out as std::ranges::enumerate_view::base - std::ranges::enumerate_view::base. πŸ’…


✨ Synopsis ✨

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

Both overloads are since C++23, no cap. 🫢

Returns a copy of the underlying view.

  1. Copy constructs the result from the underlying view. Equivalent to return base_;
  2. Move constructs the result from the underlying view. Equivalent to return std::move(base_);

πŸŽ€ Parameters πŸŽ€

(none) β€” literally zero parameters, bestie. Not a single one. πŸ’–


πŸ¦‹ Return value πŸ¦‹

A copy of the underlying view. That's the whole return value, periodt. ✨


🌈 Example 🌈

This section is incomplete.

Reason: no example.

not me having no example to show you 😭


πŸ‘‘ Category πŸ‘‘

  • * Todo no example β€” yep, that's the category tag, preserved exactly. πŸŽ€

cute sign-off time: source/version is http://cppreference.com, date is 2024.06.10, and the footer literally repeats std::ranges...e_view::base(3). byeee bestie πŸ’–βœ¨

πŸ“¦ where this page comes from