Movatterモバイル変換


[0]ホーム

URL:


cppreference.com
Namespaces
Variants
    Actions

      std::mdspan<T,Extents,LayoutPolicy,AccessorPolicy>::extent

      From cppreference.com
      <cpp‎ |container‎ |mdspan
       
       
       
       
      constexpr index_type extent( rank_type r)constnoexcept;
      (since C++23)

      Returns the extent of amdspan at the rank indexr. Equivalent toreturn extents().extent(r);.

      Contents

      [edit]Parameters

      r - The rank index to get the extent size of

      [edit]Return value

      The extent at the given rank index.

      [edit]Example

      This section is incomplete
      Reason: no example

      [edit]See also

      returns dynamic extent size of anextents at a certain rank index
      (public member function ofstd::extents<IndexType,Extents...>)[edit]
      returns the static extent size of amdspan at a given rank index
      (public static member function)[edit]
      Retrieved from "https://en.cppreference.com/mwiki/index.php?title=cpp/container/mdspan/extent&oldid=178335"

      [8]ページ先頭

      ©2009-2025 Movatter.jp