名稱空間
變體
操作

std::layout_left::mapping<Extents>::對映特性 (mapping-traits)

來自 cppreference.com
< cpp‎ | 容器‎ | mdspan‎ | layout left‎ | mapping
 
 
 
 
std::layout_left::mapping
成員函式
觀察器
mapping::is_uniquemapping::is_exhaustivemapping::is_stridedmapping::is_always_uniquemapping::is_always_exhaustivemapping::is_always_strided
非成員函式
 
static constexpr bool is_unique() noexcept;
(1) (C++23 起)
static constexpr bool is_exhaustive() noexcept;
(2) (C++23 起)
static constexpr bool is_strided() noexcept;
(3) (C++23 起)
static constexpr bool is_always_unique() noexcept;
(4) (C++23 起)
static constexpr bool is_always_exhaustive() noexcept;
(5) (C++23 起)
static constexpr bool is_always_strided() noexcept;
(6) (C++23 起)

所有 `mapping` 的每個特化例項都是唯一的、窮舉的且是帶步長的。有關這些謂詞對映特性的語義,請參閱 LayoutMapping

目錄

[編輯部分:引數] 引數

(無)

[編輯部分:返回值] 返回值

1-6) true

[編輯部分:示例] 示例

[編輯部分:參見] 參見