std::layout_stride::mapping<Extents>::strides
来自 cppreference.cn
< cpp | container | mdspan | layout stride | mapping
constexpr std::array<index_type, rank_> strides() const noexcept; |
(since C++23) | |
返回映射步幅的数组。等价于 return strides_;。
目录 |
[edit] 参数
(无)
[edit] 返回值
步幅数组
[edit] 示例
本节内容不完整 原因:没有示例 |
[edit] 参见
获取沿指定维度的步幅 (公开成员函数) | |
获取沿指定维度的步幅 ( std::mdspan<T,Extents,LayoutPolicy,AccessorPolicy> 的公开成员函数) |