命名空间
变体
操作

std::layout_right::mapping<Extents>::stride

来自 cppreference.cn
< cpp‎ | container‎ | mdspan‎ | layout right‎ | mapping
 
 
 
 
 
constexpr index_type required_span_size() const noexcept;
(自 C++23 起)

返回映射的所需大小。

等价于 return extents().fwd-prod-of-extents(extents_type::rank());.

[编辑] 返回值

映射的所需大小。

[编辑] 示例

[编辑] 参见

返回映射的所需大小
(std::layout_left::mapping<Extents> 的公共成员函数) [编辑]
返回映射的所需大小
(std::layout_stride::mapping<Extents> 的公共成员函数) [编辑]
返回多维索引空间的大小
(std::mdspan<T,Extents,LayoutPolicy,AccessorPolicy> 的公共成员函数) [编辑]