Namespaces
Variants
Views
Actions

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

From cppreference.com
< cpp‎ | container‎ | mdspan‎ | layout right‎ | mapping
 
 
 
 
 
constexpr index_type required_span_size() const noexcept;
(since C++23)

Returns the required size of the mapping.

Equivalent to return extents().fwd-prod-of-extents(extents_type::rank());.

[edit] Return value

The required size of the mapping.

[edit] Example

[edit] See also

returns the required size of the mapping
(public member function of std::layout_left::mapping<Extents>) [edit]
returns the required size of the mapping
(public member function of std::layout_stride::mapping<Extents>) [edit]
returns the size of the multidimensional index space
(public member function of std::mdspan<T,Extents,LayoutPolicy,AccessorPolicy>) [edit]