A RetroSearch Logo

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

Search Query:

Showing content from https://en.cppreference.com/w/cpp/algorithm/../../cpp/container/mdspan/layout_right_padded.html below:

std::layout_right_padded - cppreference.com

Every specialization of layout_right_padded is a LayoutMappingPolicy which provides a layout mapping that is similar to layout_right::mapping except that it has a padding stride.

Every specialization of layout_right_padded is TriviallyCopyable, and std::is_trivially_default_constructible_v<T> is true for any such specialization T.

Let m be the instance of the mapping type layout_right_padded::mapping. The padding stride of the mapping is the second to last stride m.stride(rank() - 2) which is guaranteed to be at least the last extent value m.extent(rank() - 1), called extent to pad.

[edit] Nested class templates a layout mapping of layout_right_padded
(public member class template)[edit] [edit] Example [edit] See also row-major multidimensional array layout mapping policy; rightmost extent has stride 1
(class) [edit] a layout mapping policy with user-defined strides
(class) [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