名稱空間
變體
操作

std::extents<IndexType,Extents...>::dynamic-index

來自 cppreference.com
< cpp‎ | 容器‎ | mdspan‎ | extents
 
 
 
 
 
private:
    static constexpr auto /*dynamic-index*/( rank_type i ) noexcept;
(C++23 起)
(僅作說明*)

返回索引 i 以下的動態範圍數量。如果 i <= rank()false,則行為未定義。

[編輯] 引數

i - 索引

[編輯] 返回值

對於 r < i 而言,其中 Er 為動態範圍的 Er 的數量。

[編輯] 參閱