namespace std::meta {
consteval bool is_complete_type(info r);
}
概要
型が完全型であるかを判定する。
戻り値
rが完全型を表す場合にtrueを返す。
例
#include <meta>
struct S { int x; };
struct Incomplete;
int main() {
static_assert(std::meta::is_complete_type(^^S));
}
出力
バージョン
言語
- C++26
処理系
- Clang: ??
- GCC: 16 (
-freflectionオプション指定) ✅ - Visual C++: ??