std::ranges..._view::base(3)
π std::ranges..._view::base(3) π
okay bestie, welcome to the C++ Standard Libary manual corner of the group chat β yes, that spelling is staying, we respect the lore. This page is filed under std::ranges..._view::base(3), and its actual NAME is std::ranges::drop_view::base, which is giving βsame energy, different spellingβ and honestly? iconic. β¨
πΈ NAME πΈ
std::ranges::drop_view::base β std::ranges::drop_view::base
No cap, thatβs the whole name, and the symmetry is lowkey satisfying. π
π¦ Synopsis π¦
Hereβs the exact signature tea, bestie:
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. Periodt. π
- Copy constructs the result from the underlying view.
- Move constructs the result from the underlying view.
π Parameters π
(none)
Literally zero parameters. The vibe check is empty in the best way. π
π Return value π
A copy of the underlying view.
Thatβs it. Thatβs the return value. Slay. π¦
π Example π
This section is incomplete.
Reason: no example.
Not me seeing no example and feeling personally attacked π β but thatβs the facts, fr fr.
π Category π
- Todo no example
mwah π β source/version: http://cppreference.com, dated 2024.06.10. Stay hydrated and keep those overloads cute. π«Ά
π¦ 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