Namespaces
Variants
Actions

std::layout_stride::mapping<Extents>::extents

From cppreference.com
< cpp‎ | container‎ | mdspan‎ | layout stride‎ | mapping
 
C++
 
Containers library
 
std::mdspan
 
std::layout_stride::mapping
constexpr const extents_type& extents() const noexcept;
(since C++23)

Returns a const reference to the extents object. Equivalent to return extents_;.

Contents

[edit] Parameters

(none)

[edit] Return value

A const reference to the extents.

[edit] Example

[edit] See also

obtains the extents object
(public member function of std::mdspan<T,Extents,LayoutPolicy,AccessorPolicy>) [edit]

Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!

Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant