最終更新日時(UTC):
が更新

履歴 編集

variable
<linalg>

is-mdspan(C++26)

template<class T>
constexpr bool is-mdspan = false;

template<class ElementType, class Extents, class Layout, class Accessor>
constexpr bool is-mdspan<mdspan<ElementType, Extents, Layout, Accessor>> = true;
}

概要

与えられた型がmdspanの特殊化かどうかを表す、説明専用の定数である。

戻り値

与えられた型がmdspanの場合、trueを返す。そうでない場合は、falseを返す。

バージョン

言語

  • C++26

関連項目

参照