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

来自cppreference.com
< cpp‎ | container‎ | mdspan‎ | layout stride‎ | mapping
 
 
 
 
 
constexpr std::array<index_type, rank_> strides() const noexcept;
(C++23 起)

返回映射中各步长的数组。等价于 return strides_;

目录

[编辑] 参数

(无)

[编辑] 返回值

步长的数组

[编辑] 示例

[编辑] 参阅

获取沿指定维度的步长
(公开成员函数) [编辑]
获取沿指定维度的步长
(std::mdspan<T,Extents,LayoutPolicy,AccessorPolicy> 的公开成员函数) [编辑]