std::submds...pping_result(3)
π 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 ofLayoutMapping.
π Data members π
Member name β definition, if you will, bestie:
mappingβ calculated mapping of typeLayoutMapping. It is declared with the[[no_unique_address]]attribute. (public member object)offsetβ calculated offset of typestd::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 existingmdspan(function template)submdspan_mapping(std::layout_left::mapping)(C++26) β calculates the mapping and data handle offset used forsubdmspan(public member function ofstd::layout_left::mapping<Extents>)submdspan_mapping(std::layout_right::mapping)(C++26) β calculates the mapping and data handle offset used forsubdmspan(public member function ofstd::layout_right::mapping<Extents>)submdspan_mapping(std::layout_stride::mapping)(C++26) β calculates the mapping and data handle offset used forsubdmspan(public member function ofstd::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
- 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