C++ named requirements: LayoutMappingPolicy (since C++23)
From cppreference.com
LayoutMappingPolicy is a type used to specify layout policy of std::mdspan. It provides a member alias template whose specialization is a LayoutMapping type.
Requirements
A type MP satisfies LayoutMappingPolicy if the type requirements shown below are valid:
Legend
| Type | Definition |
MP
|
a layout mapping policy class |
M
|
a layout mapping class |
E
|
a specialization of std::extents
|
Type requirements
MP::mapping<E>is valid and denotes a typeMthat satisfies LayoutMapping.M::layout_typeis valid and denotes a typeMP.M::extents_typeis valid and denotes a typeE.
Standard library
The following standard library types satisfy LayoutMappingPolicy requirements:
