std::layout_stride - cppreference.com
Namespaces
Variants

std::layout_stride

From cppreference.com
 
 
 
 
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.

layout_stride is a TrivialType.

(until C++26)

layout_stride is TriviallyCopyable, and std::is_trivially_default_constructible_v<layout_stride> is true.

(since C++26)

Nested class templates

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

See also