std::layout_left(3)

πŸ“¦ version 2024.07.05, in nixpkgs unstable, opensuse-leap 16.0

πŸ’– std::layout_left(3) πŸ’–

okay so bestie, we're in the C++ Standard Libary man pages right now β€” that's the manual name, typo and all, and we are not fixing it because we keep facts exact around here. This page is about std::layout_left, and ngl it's giving "struct with layout-mapping energy." Let's get into it. ✨


πŸŽ€ NAME πŸŽ€

std::layout_left - std::layout_left

Not me writing the same name twice because that's literally what the entry says. Iconic behavior. πŸ’…


✨ Synopsis ✨

Defined in header <mdspan>:

struct layout_left;         (since C++23)

layout_left is a LayoutMappingPolicy and trivial type which provides a layout mapping where the leftmost extent has stride 1, and strides increase left-to-right as the product of extents.

🧚 Member class templates 🧚

  • mapping β€” a layout mapping of layout_left (public member class template)

🌈 See also 🌈

  • layout_right β€” row-major multidimensional array layout mapping policy; rightmost (C++23) extent has stride 1 (class)
  • layout_stride β€” a layout mapping policy with user-defined strides (C++23) (class)

mwah πŸ’‹ β€” source: http://cppreference.com, version/date: 2024.06.10, page: std::layout_left(3). That's the cute sign-off, bestie β€” go forth and map those layouts. 🫢

πŸ“¦ where this page comes from