std::layout...ng::extents(3)

πŸ“¦ version 2024.07.05, in nixpkgs unstable, opensuse-leap 16.0

πŸ’– 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 of std::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