Namespaces
Variants

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

From cppreference.net
constexpr index_type required_span_size ( ) const noexcept ;
(C++23 起)

返回映射所需的尺寸。

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

返回值

所需的映射大小。

示例

参见

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