std::ranges...m_view::base(3)
πΈ NAME πΈ
Bestie, you're on the std::ranges::transform_view::base page from the C++ Standard Libary manual β the header even says std::ranges...m_view::base(3), iconic truncation π
.
std::ranges::transform_view::baseβstd::ranges::transform_view::base
That's the whole NAME section. No notes. Periodt. π
β¨ Synopsis β¨
Ok so the synopsis is giving two overloads, both constexpr, both since C++20:
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. Simple. Slay. π
- Overload (1) β copy constructs the result from the underlying view. It's the
const&one, and it requiresstd::copy_constructible<V>. - Overload (2) β move constructs the result from the underlying view. It's the
&&one.
π Parameters π
(none) β literally none. Zero. Zilch. Not a single parameter in sight. π«Ά
π Return value π
A copy of the underlying view. That's the vibe. β¨
π¦ Example π¦
This section is incomplete. Reason: no example π
π Category π
Todo no exampleβ yes bestie, that is the category, and it's lowkey begging for an example. π
xoxo, bestie π β sourced from http://cppreference.com, dated 2024.06.10, and the footer page tag is std::ranges...m_view::base(3). Periodt. π
π¦ where this page comes from
- nixpkgs unstable: stdman 2024.07.05
- opensuse-leap 16.0: stdman 2024.07.05-bp160.1.9 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms