Namespaces
Variants
Views
Actions

std::mdspan<T,Extents,LayoutPolicy,AccessorPolicy>::mapping

From cppreference.com
< cpp‎ | container‎ | mdspan
 
 
 
 
constexpr const mapping_type& mapping() const noexcept;
(since C++23)

Returns the layout mapping. Equivalent to return map_;.

Contents

[edit] Parameters

(none)

[edit] Return value

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

[edit] Example

[edit] See also