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

来自cppreference.com
< cpp‎ | container‎ | 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

示例

参阅