std::layout_stride
Defined in header <mdspan> | ||
|---|---|---|
struct layout_stride; | (since C++23) |
layout_stride is a LayoutMappingPolicy which provides a layout mapping where the strides are user-defined.
|
| (until C++26) |
|
| (since C++26) |
Nested class templates
a layout mapping of layout_stride(public member class template) |
See also
|
(C++23) | column-major multidimensional array layout mapping policy; leftmost extent has stride 1 (class) |
|
(C++26) | column-major layout mapping policy with padding stride that can be greater than or equal to the leftmost extent (class template) |
|
(C++23) | row-major multidimensional array layout mapping policy; rightmost extent has stride 1 (class) |
|
(C++26) | row-major layout mapping policy with padding stride that can be greater than or equal to the rightmost extent (class template) |
© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/cpp/container/mdspan/layout_stride