std::mdspan<T,Extents,LayoutPolicy,AccessorPolicy>:: rank
From cppreference.net
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
(
)
noexcept
;
|
(seit C++23) | |
Gibt die Anzahl der Dimensionen in einem
mdspan
zurück. Entspricht
return
Extents
::
rank
(
)
.
Inhaltsverzeichnis |
Parameter
(keine)
Rückgabewert
Die Anzahl der Dimensionen.
Beispiel
|
Dieser Abschnitt ist unvollständig
Grund: Kein Beispiel |
Siehe auch
|
[static]
|
gibt den statischen Rang eines
extents
zurück
(öffentliche statische Elementfunktion von
std::extents<IndexType,Extents...>
)
|
|
[static]
|
gibt den dynamischen Rang eines
mdspan
zurück
(öffentliche statische Elementfunktion) |