命名空间
变体
操作

std::layout_left::mapping<Extents>::stride

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

返回映射的所需大小。

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

[edit] 返回值

映射的所需大小。

[edit] 示例

[edit] 参见

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