std::layout_right
From cppreference.com
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
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Defined in header <mdspan>
|
||
| struct layout_right; |
(since C++23) | |
layout_right is a LayoutMappingPolicy which provides a layout mapping where the rightmost extent has stride 1, and strides increase right-to-left as the product of extents.
|
|
(until C++26) |
|
|
(since C++26) |
It is the default layout mapping policy used by std::mdspan if no user-specified layout is provided.
[edit] Nested class templates
| a layout mapping of layout_right (public member class template)[edit] |
[edit] See also
| (C++26) |
row-major layout mapping policy with padding stride that can be greater than or equal to the rightmost extent (class template) [edit] |
| (C++23) |
column-major multidimensional array layout mapping policy; leftmost extent has stride 1 (class) [edit] |
| (C++23) |
a layout mapping policy with user-defined strides (class) [edit] |