std::layout...ng::extents(3)
π NAME π
std::layout_left::mapping::extents β okay bestie, this is the std::layout_left::mapping::extents page, and the vibe is literally βgive me the extents object as a const reference.β The manual name is C++ Standard Libary (yes, that spelling is straight from the header, iykyk), and the page itself is std::layout...ng::extents(3).
β¨ Synopsis β¨
constexpr const extents_type& extents() const noexcept;
(since C++23)
Returns a const reference to the extents object. Equivalent to return extents_;. Slay. π
π Parameters π
- (none) β not a single parameter, periodt.
π¦ Return value π¦
A const reference to the extents. That's it, that's the whole vibe. β¨
πΈ Example πΈ
This section is incomplete Reason: no example
Lowkey tragic, but we're being honest: there is no example here yet. π
π See also π
- obtains the extents object
extents(public member function ofstd::mdspan<T,Extents,LayoutPolicy,AccessorPolicy>)
π Category π
- Todo no example
Cute little sign-off: this page is from http://cppreference.com, dated 2024.06.10, and the footer energy is std::layout...ng::extents(3). Bye bestie, go get those extents. π«Άπ₯
π¦ 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