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

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

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

目录

[编辑] 参数

(无)

[编辑] 返回值

动态维度数量。

[编辑] 示例

[编辑] 参阅

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