命名空间
变体
操作

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

来自 cppreference.cn
< cpp‎ | container‎ | 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) (since C++23)
static constexpr bool is_exhaustive() noexcept;
(2) (since C++23)
static constexpr bool is_strided() noexcept;
(3) (since C++23)
static constexpr bool is_always_unique() noexcept;
(4) (since C++23)
static constexpr bool is_always_exhaustive() noexcept;
(5) (since C++23)
static constexpr bool is_always_strided() noexcept;
(6) (since C++23)

Every instance of every specialization of mapping is unique, exhaustive, and strided. See LayoutMapping for the semantics of these predicate mapping traits.

目录

[编辑] 参数

(无)

[编辑] 返回值

1-6) true

[编辑] 示例

[编辑] 参见