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

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

πŸ’… std::ranges..._view::base(3) β€” bestie, we're in the C++ Standard Libary manual πŸ’…

okay so this page is from the C++ Standard Libary manual (yes, that spelling is what's on the page, no cap), and it's all about std::ranges::join_view::base. It's giving "tiny utility that hands you the underlying view back" energy. ✨


🌸 NAME 🌸

std::ranges::join_view::base - std::ranges::join_view::base

✨ Synopsis ✨

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

Both of these are since C++20 πŸ‘‘.

  1. constexpr V base() const& requires std::copy_constructible<V>; β€” copy constructs the result from the underlying view. (since C++20)
  2. constexpr V base() &&; β€” move constructs the result from the underlying view. (since C++20)
The synopsis says it returns a copy of the underlying view, so that's the vibe: you get the underlying view back. 🫢

πŸŽ€ Parameters πŸŽ€

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

πŸ’– Return value πŸ’–

A copy of the underlying view. Periodt. πŸ’…

πŸ¦‹ Example πŸ¦‹

This section is incomplete. Reason: no example. 😭

So yeah, no example here β€” the manpage is just out here with a blank spot and a dream. 🌈

πŸ“ Category πŸ“

  • Todo no example πŸŽ€

okay bye bestie, this cute little page came from http://cppreference.com and the version/date is 2024.06.10 πŸ’œβœ¨

πŸ“¦ where this page comes from