Movatterモバイル変換


[0]ホーム

URL:


cppreference.com
Namespaces
Variants
    Actions

      std::layout_stride

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

      layout_stride is aLayoutMappingPolicy which provides a layout mapping where the strides are user-defined.

      layout_stride is aTrivialType.

      (until C++26)

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

      (since C++26)

      [edit]Nested class templates

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

      [edit]See also

      column-major multidimensional array layout mapping policy; leftmost extent has stride1
      (class)[edit]
      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]
      row-major layout mapping policy with padding stride that can be greater than or equal to the rightmost extent
      (class template)[edit]
      Retrieved from "https://en.cppreference.com/mwiki/index.php?title=cpp/container/mdspan/layout_stride&oldid=178061"

      [8]ページ先頭

      ©2009-2025 Movatter.jp