Namespaces
Variants
Actions

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

From cppreference.com
< cpp‎ | container‎ | mdspan
 
C++
 
Containers library
 
std::mdspan
static constexpr rank_type rank_dynamic() noexcept;
(since C++23)

Returns the number of dynamic dimensions in a mdspan. Equivalent to return Extents::rank_dynamic().

Contents

[edit] Parameters

(none)

[edit] Return value

The number of dynamic dimensions.

[edit] Example

[edit] See also

returns the dynamic rank of an extents
(public static member function of std::extents<IndexType,Extents...>) [edit]
[static]
returns the rank of a mdspan
(public static member function) [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