名稱空間
變體
操作

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

來自 cppreference.com
< 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 的秩
(公共靜態成員函式) [編輯]