std::layout_stride - cppreference.com (original) (raw)

| | | | | ---------------------- | | ------------- | | struct layout_stride; | | (since C++23) |

layout_stride is a LayoutMappingPolicy which provides a layout mapping where the strides are user-defined.

[edit] Nested class templates

| | a layout mapping of layout_stride(public member class template)[edit] | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |

[edit] See also

| | column-major multidimensional array layout mapping policy; leftmost extent has stride 1 (class) [edit] | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | | column-major layout mapping policy with padding stride that can be greater than or equal to the leftmost extent (class template) [edit] | | | row-major multidimensional array layout mapping policy; rightmost extent has stride 1 (class) [edit] | | | row-major layout mapping policy with padding stride that can be greater than or equal to the rightmost extent (class template) [edit] |