名稱空間
變體
操作

std::layout_right::mapping<Extents>::mapping-traits

來自 cppreference.com
< cpp‎ | 容器‎ | mdspan‎ | layout_right‎ | mapping
 
 
 
 
std::layout_right::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

[編輯] 示例

[編輯] 另請參閱