std::ranges..._view::base(3)
πΈ NAME πΈ
okay so bestie, this is std::ranges..._view::base(3) from the C++ Standard Libary β and yes, the page really spells it βLibaryβ, weβre keeping the lore π
.
The name line is exactly:
std::ranges::take_view::base - std::ranges::take_view::base
so itβs the std::ranges::take_view::base page, twice, because why not β¨.
β¨ Synopsis β¨
Hereβs the whole signature situation, no edits, no cap:
constexpr V base() const& requires std::copy_constructible<V>; (1)
(since C++20)
constexpr V base() &&; (2)
(since C++20)
It returns a copy of the underlying view. Thatβs the main character energy right there π«Ά.
(1)β Copy constructs the result from the underlying view.(2)β Move constructs the result from the underlying view.
π Parameters π
(none) β literally none, bestie. No arguments. Zero. Nada. π
π Return value π
A copy of the underlying view. Thatβs it. Thatβs the tea β.
π¦ Example π¦
This section is incomplete Reason: no example
so yeah, the example is giving βtodoβ not βslayβ π. No example yet, but the info is still here.
π Category π
- Todo no example
okay thatβs the whole page! source: http://cppreference.com, version/date: 2024.06.10. mwah π β your Unix bestie
π¦ 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