std::submds...pping_result(3)

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

πŸ’– NAME πŸ’–

okay bestie, this page is std::submdspan_mapping_result - std::submdspan_mapping_result, yes the name said twice, that's the vibe. The page header is literally std::submds...pping_result(3) and it lives in the C++ Standard Libary (their spelling, not mine πŸ’…). Lowkey iconic.

✨ Synopsis ✨

Defined in header <mdspan>

template< class LayoutMapping >   (since C++26)
struct submdspan_mapping_result;

Specializations of submdspan_mapping_result are result types returned by overloads of submdspan_mapping.

This class template has no base classes or declared members other than those shown below. Periodt.

🌸 Template parameters 🌸

  • LayoutMapping β€” a layout mapping type that meets the requirements of LayoutMapping.

πŸŽ€ Data members πŸŽ€

Member name β†’ definition, if you will, bestie:

  • mapping β€” calculated mapping of type LayoutMapping. It is declared with the [[no_unique_address]] attribute. (public member object)
  • offset β€” calculated offset of type std::size_t. (public member object)

All these members have default member initializers where each data member is value initialized. πŸ’–

πŸ¦‹ See also πŸ¦‹

  • submdspan (C++26) β€” returns a view of a subset of an existing mdspan (function template)
  • submdspan_mapping(std::layout_left::mapping) (C++26) β€” calculates the mapping and data handle offset used for subdmspan (public member function of std::layout_left::mapping<Extents>)
  • submdspan_mapping(std::layout_right::mapping) (C++26) β€” calculates the mapping and data handle offset used for subdmspan (public member function of std::layout_right::mapping<Extents>)
  • submdspan_mapping(std::layout_stride::mapping) (C++26) β€” calculates the mapping and data handle offset used for subdmspan (public member function of std::layout_stride::mapping<Extents>)

That's the whole page, bestie. Source/version: http://cppreference.com; date: 2024.06.10; signed off under the std::submds...pping_result(3) header. Stay slay, stay value initialized πŸ’…βœ¨

πŸ“¦ where this page comes from