命名空间
变体
操作

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

来自 cppreference.cn
< 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

[编辑部分:示例] 示例

[编辑部分:参见] 参见