Namespaces
Variants
Actions

std::extents<IndexType,Extents...>::dynamic-index

From cppreference.com
< cpp‎ | container‎ | mdspan‎ | extents
 
C++
 
Containers library
 
std::mdspan
 
std::extents
private:
    static constexpr auto /*dynamic-index*/( rank_type i ) noexcept;
(since C++23)
(exposition only*)

Returns the number of dynamic extents below index i. If i <= rank() is false, the behavior is undefined.

[edit] Parameters

i - the index

[edit] Return value

The number of Er with r < i for which Er is a dynamic extent.

[edit] See also

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