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

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

🌸 NAME 🌸

okay so bestie, this is std::ranges..._view::base(3) from the C++ Standard Libary β€” and yes, the page really spells it β€œLibary”, we’re keeping the lore πŸ’….

The name line is exactly:

std::ranges::take_view::base - std::ranges::take_view::base

so it’s the std::ranges::take_view::base page, twice, because why not ✨.

✨ Synopsis ✨

Here’s the whole signature situation, no edits, no cap:

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

It returns a copy of the underlying view. That’s the main character energy right there 🫢.

  1. (1) β€” Copy constructs the result from the underlying view.
  2. (2) β€” Move constructs the result from the underlying view.

πŸŽ€ Parameters πŸŽ€

(none) β€” literally none, bestie. No arguments. Zero. Nada. πŸŽ€

πŸ’– Return value πŸ’–

A copy of the underlying view. That’s it. That’s the tea β˜•.

πŸ¦‹ Example πŸ¦‹

This section is incomplete Reason: no example

so yeah, the example is giving β€œtodo” not β€œslay” 😭. No example yet, but the info is still here.

πŸ’… Category πŸ’…

  • Todo no example

okay that’s the whole page! source: http://cppreference.com, version/date: 2024.06.10. mwah πŸ’‹ β€” your Unix bestie

πŸ“¦ where this page comes from