A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://en.cppreference.com/w/cpp/language/../numeric/../named_req/LayoutMappingPolicy.html below:

C++ named requirements: LayoutMappingPolicy (since C++23)

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 [edit] Standard library

The following standard library types satisfy LayoutMappingPolicy requirements:

column-major multidimensional array layout mapping policy; leftmost extent has stride 1
(class) [edit] row-major multidimensional array layout mapping policy; rightmost extent has stride 1
(class) [edit] a layout mapping policy with user-defined strides
(class) [edit] column-major layout mapping policy with padding stride that can be greater than or equal to the leftmost extent
(class template) [edit] row-major layout mapping policy with padding stride that can be greater than or equal to the rightmost extent
(class template) [edit] std::mdspan layout mapping policy that swaps the rightmost two indices, extents, and strides of any unique layout mapping policy
(class template) [edit] std::mdspan layout mapping policy that represents a square matrix that stores only the entries in one triangle, in a packed contiguous format
(class template) [edit]

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4