std::mdspan<T,Extents,LayoutPolicy,AccessorPolicy>::rank_dynamic
From cppreference.com
C++
Containers library
(C++17) | ||||
| Sequence | ||||
(C++11) | ||||
(C++26) | ||||
(C++26) | ||||
(C++11) | ||||
| Associative | ||||
| Unordered associative | ||||
(C++11) | ||||
(C++11) | ||||
(C++11) | ||||
(C++11) | ||||
| Adaptors | ||||
(C++23) | ||||
(C++23) | ||||
(C++23) | ||||
(C++23) | ||||
| Views | ||||
(C++20) | ||||
(C++23) | ||||
| Tables | ||||
| Iterator invalidation | ||||
| Member function table | ||||
| Non-member function table |
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
| This section is incomplete Reason: no example |
[edit] See also
| [static] |
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] |