std::mdspan::size(3)
okay bestie, welcome to the std::mdspan::size(3) page β manual name? C++ Standard Libary (yes, that spelling, not me π). This one is short, but it's still giving main character energy.
πΈ NAME πΈ
std::mdspan::size β literally std::mdspan::size, that's the whole name bestie. Iconic.
π¦ Synopsis π¦
constexpr size_type size() const noexcept; (since C++23)
Returns the number of elements in mdspan.
It's equivalent to extents().fwd-prod-of-extents(rank()).
π¨ okay so listen: if the size of the multidimensional index spaceextents()is not representable as a value of typesize_type, the behavior of the program is undefined. Like, no cap, that's UB β stay safe out there. π
π Parameters π
(none)β yep, zero parameters. nada. zilch. we love a low-maintenance icon. β¨
π Return value π
The number of elements. that's it. that's the whole vibe. π
π Example π
This section is incomplete.
Reason: no example.
π not me being left with no example β tragic, honestly.
π«Ά See also π«Ά
This section is incomplete.
π§ Categories π§
Todo no exampleTodo without reason
xoxo, your bestie π
β source: http://cppreference.com, version/date: 2024.06.10 π
π¦ 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