std::layout_right::mapping<Extents>:: mapping-traits
From cppreference.net
<
cpp
|
container
|
mdspan
|
layout right
|
mapping
C++
Containers library
|
(C++17)
|
||||
| Sequence | ||||
|
(C++11)
|
||||
|
(C++26)
|
||||
|
(C++26)
|
||||
|
(C++11)
|
||||
| Associative | ||||
| Unordered associative | ||||
|
(C++11)
|
||||
|
(C++11)
|
||||
|
(C++11)
|
||||
|
(C++11)
|
||||
| Adaptors | ||||
|
(C++23)
|
||||
|
(C++23)
|
||||
|
(C++23)
|
||||
|
(C++23)
|
||||
| Views | ||||
|
(C++20)
|
||||
|
(C++23)
|
||||
| Tables | ||||
| Iterator invalidation | ||||
| Member function table | ||||
| Non-member function table |
std::mdspan
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
std::layout_right::mapping
| Member functions | ||||
| Observers | ||||
|
mapping::is_unique
mapping::is_exhaustive
mapping::is_strided
mapping::is_always_unique
mapping::is_always_exhaustive
mapping::is_always_strided
|
||||
| Non-member functions | ||||
|
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
示例
|
本节内容不完整
原因:缺少示例 |
参见
| 本节内容尚不完整 |