Namespaces
Variants
Views
Actions

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

From cppreference.com
< cpp‎ | container‎ | mdspan‎ | extents
 
 
 
 
 
private:

    template< class OtherIndexType >

    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.

Contents

[edit] Parameters

i - the index

[edit] Return value

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

[edit] Example

[edit] See also