Movatterモバイル変換


[0]ホーム

URL:


cppreference.com
Namespaces
Variants
    Actions

      std::mdspan<T,Extents,LayoutPolicy,AccessorPolicy>::mapping-traits

      From cppreference.com
      <cpp‎ |container‎ |mdspan
       
       
       
       
      constexprbool is_unique()const;
      (1)(since C++23)
      constexprbool is_exhaustive()const;
      (2)(since C++23)
      constexprbool is_strided()const;
      (3)(since C++23)
      staticconstexprbool is_always_unique();
      (4)(since C++23)
      staticconstexprbool is_always_exhaustive();
      (5)(since C++23)
      staticconstexprbool is_always_strided();
      (6)(since C++23)

      Checks if(1-3) the underlying layout mappingmap_ or(4-6) its typemapping_type models the semantics ofLayoutMapping's predicate mapping traits.

      1-3) Letfunc be(1)is_unique,(2)is_exhaustive, or(3)is_strided, then it's equivalent toreturn map_.func();.
      4-6) Letfunc be(4)is_always_unique,(5)is_always_exhaustive, or(6)is_always_strided, then it's equivalent toreturn mapping_type::func();.

      Contents

      [edit]Parameters

      (none)

      [edit]Return value

      See above.

      [edit]Example

      This section is incomplete
      Reason: no example

      [edit]See also

      This section is incomplete
      Retrieved from "https://en.cppreference.com/mwiki/index.php?title=cpp/container/mdspan/mapping_traits&oldid=178720"

      [8]ページ先頭

      ©2009-2026 Movatter.jp