std::layout_stride

From cppreference.com
< cpp‎ | container‎ | mdspan
 
 
 
 
Defined in header <mdspan>
struct layout_stride;
(since 哋它亢++23)

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

Member class templates

a layout mapping of layout_stride
(public member class template)

See also

(哋它亢++23)
column-major multidimensional array layout mapping policy; leftmost extent has stride 1
(class)
(哋它亢++23)
row-major multidimensional array layout mapping policy; rightmost extent has stride 1
(class)