std::layout_left::mapping<Extents>::stride
From cppreference.com
< cpp | container | mdspan | layout left | mapping
C++
Containers library
(C++17) | ||||
| Sequence | ||||
(C++11) | ||||
(C++26) | ||||
(C++26) | ||||
(C++11) | ||||
| Associative | ||||
| Unordered associative | ||||
(C++11) | ||||
(C++11) | ||||
(C++11) | ||||
(C++11) | ||||
| Adaptors | ||||
(C++23) | ||||
(C++23) | ||||
(C++23) | ||||
(C++23) | ||||
| Views | ||||
(C++20) | ||||
(C++23) | ||||
| Tables | ||||
| Iterator invalidation | ||||
| Member function table | ||||
| Non-member function table |
std::mdspan
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
std::layout_left::mapping
| Member functions | ||||
| Observers | ||||
mapping::required_span_size | ||||
| Non-member functions | ||||
| 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
| This section is incomplete Reason: no example |
[edit] See also
| returns the required size of the mapping (public member function of std::layout_right::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]
|