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> 的公有成员函数) |