名前空間
変種
操作

std::mdspan<T,Extents,LayoutPolicy,AccessorPolicy>::rank

From cppreference.com
< cpp‎ | container‎ | mdspan
 
 
 
 
static constexpr rank_type rank() noexcept;
(C++23から)

mdspanの次元数を返します。return Extents::rank()と同等です。

目次

[編集] パラメータ

(なし)

[編集] 戻り値

次元数。

[編集]

[編集] 関連項目

[static]
extents の静的ランクを返します。
(std::extents<IndexType,Extents...> の public static メンバ関数) [編集]
mdspanの動的なランクを返します。
(public static メンバ関数) [編集]
English 日本語 中文(简体) 中文(繁體)