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