Movatterモバイル変換


[0]ホーム

URL:


cppreference.com
Namespaces
Variants
    Actions

      std::layout_right

      From cppreference.com
      <cpp‎ |container‎ |mdspan
       
       
       
       
      Defined in header<mdspan>
      struct layout_right;
      (since C++23)

      layout_right is aLayoutMappingPolicy which provides a layout mapping where the rightmost extent has stride 1, and strides increase right-to-left as the product of extents.

      layout_right is aTrivialType.

      (until C++26)

      layout_right isTriviallyCopyable, andstd::is_trivially_default_constructible_v<layout_right> istrue.

      (since C++26)

      It is the default layout mapping policy used bystd::mdspan if no user-specified layout is provided.

      [edit]Nested class templates

      a layout mapping oflayout_right
      (public member class template)[edit]

      [edit]See also

      row-major layout mapping policy with padding stride that can be greater than or equal to the rightmost extent
      (class template)[edit]
      column-major multidimensional array layout mapping policy; leftmost extent has stride1
      (class)[edit]
      a layout mapping policy with user-defined strides
      (class)[edit]
      Retrieved from "https://en.cppreference.com/mwiki/index.php?title=cpp/container/mdspan/layout_right&oldid=178060"

      [8]ページ先頭

      ©2009-2025 Movatter.jp