Namespaces
Variants

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

From cppreference.net
constexpr std:: array < index_type, rank_ > strides ( ) const noexcept ;
(C++23 起)

返回映射的步幅数组。等价于 return strides_ ;

目录

参数

(无)

返回值

步长数组

示例

参见

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