std::extents<IndexType,Extents...>:: dynamic-index-inv
|
(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 |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Member functions | ||||
| Observers | ||||
| Helpers | ||||
|
extents::
dynamic-index-inv
|
||||
| Non-member functions | ||||
| Deduction guides |
|
private
:
static constexpr auto /*dynamic-index-inv*/ ( rank_type i ) noexcept ; |
(自 C++23 起)
( 仅用于说明* ) |
|
返回数值
r
,使得在范围
[
0
,
r
+
1
)
内恰好存在
[
0
,
i
+
1
)
个动态维度。若
i
<=
rank_dynamic
(
)
为
false
,则行为未定义。
参数
| i | - | 索引 |
返回值
使得
dynamic-index
(
r
+
1
)
==
i
+
1
为
true
的最小
r
值。
参见
| 本节内容尚不完整 |