Namespaces
Variants

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

From cppreference.net
constexpr const extents_type & extents ( ) const noexcept ;
(since C++23)

Returns a const reference to the extents of the layout mapping map_ . Equivalent to return map_. extents ( ) ; .

Contents

Parameters

(none)

Return value

A const reference to the extents.

Example

See also