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