namespace std {
template<class T>
concept class-type = decays-to<T, T> && is_class_v<T>; // exposition only
}
概要
class-type
は、型T
がクラス型であることを表す説明専用のコンセプトである。
バージョン
言語
- C++26
namespace std {
template<class T>
concept class-type = decays-to<T, T> && is_class_v<T>; // exposition only
}
class-type
は、型T
がクラス型であることを表す説明専用のコンセプトである。