std::mdspan<T,Extents,LayoutPolicy,AccessorPolicy>:: rank_dynamic
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_dynamic
(
)
noexcept
;
|
(自 C++23 起) | |
返回
mdspan
中的动态维度数量。等价于
return
Extents
::
rank_dynamic
(
)
。
目录 |
参数
(无)
返回值
动态维度的数量。
示例
|
本节内容不完整
原因:缺少示例 |
参见
|
[static]
|
返回
extents
的动态秩
(
std::extents<IndexType,Extents...>
的公开静态成员函数)
|
|
[static]
|
返回
mdspan
的秩
(公开静态成员函数) |