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

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

Returns the layout mapping. Equivalent to return map_;.

Parameters

(none)

Return value

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

Example

See also