std::layout_stride(3)

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

πŸ’– NAME πŸ’–

okay so bestie, welcome to the std::layout_stride(3) page from the C++ Standard Libary manual 🫢 this one is short and sweet, but it still ate.

✨ Synopsis ✨

Defined in header <mdspan>
struct layout_stride;       (since C++23)

layout_stride is a LayoutMappingPolicy and a trivial type that provides a layout mapping where the strides are user-defined. No cap, that's literally its whole job πŸ’…

πŸŽ€ Member class templates πŸŽ€

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

🌈 See also 🌈

  • layout_left β€” column-major multidimensional array layout mapping policy; leftmost extent has stride 1 (class), (C++23) ✨
  • layout_right β€” row-major multidimensional array layout mapping policy; rightmost extent has stride 1 (class), (C++23) ✨

source/version vibes: this page is from http://cppreference.com, dated 2024.06.10, and it's the std::layout_stride(3) page β€” mwah πŸ’‹πŸŒΈ

πŸ“¦ where this page comes from