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

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

πŸ¦‹ std::ranges..._view::base(3) πŸ¦‹

okay bestie, this page is from the C++ Standard Libary manual (yes, that spelling is literally in the header, iykyk) and it is giving very specific C++20 ranges energy. No preamble needed β€” let's get into it πŸ’….


✨ NAME ✨

std::ranges::take_while_view::base - std::ranges::take_while_view::base


🌸 Synopsis 🌸

          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. 🫢

  1. Copy constructs the result from the underlying view.
  2. Move constructs the result from the underlying view.

πŸŽ€ Parameters πŸŽ€

(none) β€” literally no parameters, bestie. ✨


πŸ’– Return value πŸ’–

A copy of the underlying view. πŸ¦‹


😭 Example 😭

This section is incomplete.

Reason: no example.

(not me crying over no example πŸ’€)


πŸ‘‘ Category πŸ‘‘

  • Todo no example

mwah πŸ’‹ this lil page came from http://cppreference.com, dated 2024.06.10, and it's all for std::ranges..._view::base(3).

πŸ“¦ where this page comes from