std::extents<IndexType,Extents...>::dynamic-index-inv
來自 cppreference.com
| 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 | - | 索引 |
[編輯] 返回值
r 的最小值,使得 dynamic-index(r + 1) == i + 1 為 true。
[編輯] 參閱
| 本節不完整 |