std::mdspan<T,Extents,LayoutPolicy,AccessorPolicy>::mapping - cppreference.com (original) (raw)

| constexpr const mapping_type& mapping() const noexcept; | | (since C++23) | | -------------------------------------------------------- | | ------------- |

Returns the layout mapping. Equivalent to return map_;.

[edit] Parameters

(none)

[edit] Return value

A const reference to the underlying layout mapping object of mapping_type.

[edit] Example

[edit] See also