std::layout_stride
From cppreference.com
C++
Feature test macros (C++20)
Concepts library (C++20)
Metaprogramming library (C++11)
Ranges library (C++20)
Filesystem library (C++17)
Concurrency support library (C++11)
Execution control library (C++26)
Containers library
(C++17)
(C++11)
(C++26)
(C++26)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++23)
(C++23)
(C++23)
(C++23)
(C++20)
(C++23)
Tables
std::mdspan
(C++26)
(C++26)
(C++26)
(C++26)
layout_stride
(C++26)
(C++26)
(C++26)
(C++26)
(C++26)
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.
layout_stride
is TriviallyCopyable, and std::is_trivially_default_constructible_v <layout_stride> is true.
[edit] Nested class templates
[edit] See also
(C++23)
1
(class) [edit]
(C++26)
(class template) [edit]
(C++23)
1
(class) [edit]
(C++26)
(class template) [edit]