std::ranges...w::join_view(3)

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

hey bestie πŸ’– this is std::ranges...w::join_view(3) from the C++ Standard Libary manual, and we're talking about the std::ranges::join_view::join_view constructor. group-chat energy ON. ✨

πŸ’… NAME πŸ’…

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

✨ Synopsis ✨

          join_view() requires std::default_initializable<V> = default; (1)
       (since C++20)
          constexpr explicit join_view( V base );                       (2)
       (since C++20)

Constructs a join_view. That's the whole assignment, no cap. 🫢

  1. Default constructor. Value-initializes the underlying view. After construction, base() returns a copy of V().
  2. This one takes a V base. It initializes the underlying view with std::move(base).

🌸 Parameters 🌸

  • base β€” a view of ranges to be flattened.

πŸ¦‹ Example πŸ¦‹

This section is incomplete.

Reason: no example. (Literally no example yet, bestie β€” not me making that up. 😭)

🧚 Category 🧚

  • Todo no example

okay bye bestie 🫢 this page came from http://cppreference.com, with the 2024.06.10 date, and it's the std::ranges...w::join_view(3) page β€” mwah πŸ’‹

πŸ“¦ where this page comes from