Movatterモバイル変換


[0]ホーム

URL:


cppreference.com
Namespaces
Variants
    Actions

      std::layout_left

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

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

      layout_left is aTrivialType.

      (until C++26)

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

      (since C++26)

      [edit]Nested class templates

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

      [edit]See also

      column-major layout mapping policy with padding stride that can be greater than or equal to the leftmost extent
      (class template)[edit]
      row-major multidimensional array layout mapping policy; rightmost 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_left&oldid=178059"

      [8]ページ先頭

      ©2009-2025 Movatter.jp