std::extents<IndexType,Extents...>:: dynamic-index
From cppreference.net
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::extents
| Member functions | ||||
| Observers | ||||
| Helpers | ||||
|
extents::
dynamic-index
|
||||
| Non-member functions | ||||
| Deduction guides |
|
private
:
static constexpr auto /*dynamic-index*/ ( rank_type i ) noexcept ; |
(C++23 起)
( 仅用于说明* ) |
|
返回索引 i 以下的动态维度数。若 i <= rank ( ) 为 false ,则行为未定义。
参数
| i | - | 索引 |
返回值
满足
r < i
且
E
r
为动态作用域的
E
r
数量。
参见
| 本节内容尚不完整 |