名前空間
変種
操作

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

From cppreference.com
< cpp‎ | container‎ | mdspan‎ | extents
 
 
 
 
 
private:
    static constexpr auto /*dynamic-index-inv*/( rank_type i ) noexcept;
(C++23から)
(説明用*)

範囲 [0r + 1) の中に、ちょうど [0i + 1) 個の動的エクステントが含まれるような、数 `r` を返します。 `i <= rank_dynamic() ` が `false` の場合、動作は未定義です。

[編集] パラメータ

i - インデックス

[編集] 戻り値

`dynamic_index(r + 1) == i + 1` となるような、 `r` の最小値。

[編集] 関連項目

English 日本語 中文(简体) 中文(繁體)