命名空间
变体
操作

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

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

[编辑] 示例

[编辑] 另请参阅