std::mdspan<T,Extents,LayoutPolicy,AccessorPolicy>::
stride
<
cpp
|
container
|
mdspan
constexpr
index_type stride
(
rank_type r
)
const
;
(C++23 起)
返回布局映射
map_
在第
r
维的步长。等价于
return
map_.
stride
(
r
)
;
。
参数
r
-
维度的索引
返回值
步长。
示例
本节未完成
原因:暂无示例
参阅
本节未完成