C++ named requirements: LayoutMappingPolicy (since C++23)
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)
C++ named requirements
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++17)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++17)
(C++20)
(C++20)
(C++20)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++14)
(C++14)
(C++11)
(C++11)
(C++17)
(C++14)
(C++20)
(C++20)
(C++23)
LayoutMappingPolicy
(C++23)
(C++23)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
LayoutMappingPolicy is a type used to specify layout policy of std::mdspan . It provides a member alias template whose specialization is a LayoutMapping type.
[edit] Requirements
A type MP
satisfies LayoutMappingPolicy if the type requirements shown below are valid:
[edit] Legend
Type
Definition
MP
a layout mapping policy class
M
a layout mapping class
E
a specialization of std::extents
[edit] Type requirements
- MP::mapping<E> is valid and denotes a type
M
that satisfies LayoutMapping. - M::layout_type is valid and denotes a type
MP
. - M::extents_type is valid and denotes a type
E
.
[edit] Standard library
The following standard library types satisfy LayoutMappingPolicy requirements:
(C++23)
1
(class) [edit]
(C++23)
1
(class) [edit]
(C++26)
(class template) [edit]
(C++26)
(class template) [edit]
Defined in namespace
std::linalg
(C++26)
(class template) [edit]
(C++26)
(class template) [edit]