std::ranges..._view::size(3)
πΈ NAME πΈ
Bestie, welcome to the std::ranges..._view::size(3) page from the C++ Standard Libary manual β¨ β yes, thatβs the manual name, weβre keeping it exactly as-is. This page is all about std::ranges::elements_view::size β and the NAME section is literally std::ranges::elements_view::size - std::ranges::elements_view::size, iconic repetition, no notes π
.
β¨ Synopsis β¨
constexpr auto size() requires ranges::sized_range<V>;
(since C++20)
constexpr auto size() const requires ranges::sized_range<const V>;
(since C++20)
It returns the number of elements, i.e. ranges::size(base_), where base_ is the underlying view π«Ά.
π Parameters π
(none) β zero, nada, no arguments needed, periodt π.
π Return value π
The number of elements. Thatβs the whole vibe π₯.
π¦ Example π¦
This section is incomplete Reason: no example
π itβs giving βweβll finish this later,β but thatβs exactly what the page says.
π₯ See also π₯
ranges::sizeβ returns an integer equal to the size of a range (C++20) (customization point object) πranges::ssizeβ returns a signed integer equal to the size of a range (C++20) (customization point object) π
π·οΈ Category π·οΈ
- Todo no example π
Source/version/date, bestie: http://cppreference.com, 2024.06.10, page std::ranges..._view::size(3) β bye and slay π«Άππ
π¦ 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