close
The Wayback Machine - https://web.archive.org/web/20240224113140/https://en.cppreference.com/w/cpp/container/mdspan/extents_mfun
Namespaces
Variants
Views
Actions

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

From cppreference.com
< cpp‎ | container‎ | mdspan
 
 
 
 
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

[edit] Parameters

(none)

[edit] Return value

A const reference to the extents.

[edit] Example

[edit] See also