std::mdspan<T,Extents,LayoutPolicy,AccessorPolicy>:: mapping-traits
From cppreference.net
|
constexpr
bool
is_unique
(
)
const
;
|
(1) | (C++23以降) |
|
constexpr
bool
is_exhaustive
(
)
const
;
|
(2) | (C++23以降) |
|
constexpr
bool
is_strided
(
)
const
;
|
(3) | (C++23以降) |
|
static
constexpr
bool
is_always_unique
(
)
;
|
(4) | (C++23以降) |
|
static
constexpr
bool
is_always_exhaustive
(
)
;
|
(5) | (C++23以降) |
|
static
constexpr
bool
is_always_strided
(
)
;
|
(6) | (C++23以降) |
(1-3)
基盤となるレイアウトマッピング
map_
が、または
(4-6)
その型
mapping_type
が
LayoutMapping
の述語マッピング特性のセマンティクスをモデル化しているかどうかをチェックします。
1-3)
func
が
(1)
is_unique
、
(2)
is_exhaustive
または
(3)
is_strided
の場合、以下と等価である:
return
map_.
func
(
)
;
。
4-6)
func
が
(4)
is_always_unique
、
(5)
is_always_exhaustive
または
(6)
is_always_strided
である場合、これは
return
mapping_type
::
func
(
)
;
と等価である。
目次 |
パラメータ
(なし)
戻り値
上記を参照。
例
|
このセクションは不完全です
理由: 例がありません |
関連項目
| このセクションは不完全です |