名稱空間
變體
操作

std::layout_stride::mapping<Extents>::strides

來自 cppreference.com
< cpp‎ | 容器‎ | mdspan‎ | layout_stride‎ | mapping
 
 
 
 
 
constexpr std::array<index_type, rank_> strides() const noexcept;
(C++23 起)

返回對映的步幅陣列。等價於 return strides_;

目錄

[編輯] 引數

(無)

[編輯] 返回值

步幅陣列

[編輯] 示例

[編輯] 參閱

獲取沿指定維度的步長
(public member function) [編輯]
獲取沿指定維度的步長
(std::mdspan<T,Extents,LayoutPolicy,AccessorPolicy> 的公開成員函式) [編輯]