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
;
|
(C++23以降) | |
mdspan
の次元数を返します。
return
Extents
::
rank
(
)
と等価です。
目次 |
パラメータ
(なし)
戻り値
次元数。
例
|
このセクションは不完全です
理由: 例がありません |
関連項目
|
[static]
|
extents
の静的ランクを返す
(
std::extents<IndexType,Extents...>
のpublic staticメンバ関数)
|
|
[static]
|
mdspan
の動的ランクを返す
(public staticメンバ関数) |