命名空间
变体
操作

std::mdspan<T,Extents,LayoutPolicy,AccessorPolicy>::rank_dynamic

来自 cppreference.cn
< cpp‎ | 容器‎ | mdspan
 
 
 
 
static constexpr rank_type rank_dynamic() noexcept;
(C++23 起)

返回 mdspan 中的动态维度数。等价于 return Extents::rank_dynamic()

目录

[edit] 参数

(无)

[edit] 返回值

动态维度数。

[edit] 示例

[edit] 参阅

返回 extents 的动态秩
(std::extents<IndexType,Extents...> 的公共静态成员函数) [编辑]
[静态]
返回 mdspan 的秩
(公共静态成员函数) [编辑]