E2205 __automated セクションに不正な型 (C++)

提供: RAD Studio
移動先: 案内検索

コンパイラのエラーと警告(C++):インデックス への移動


__automated セクションでは,特定の型だけを指定できます。

次に例を示します。



 struct__declspec(delphiclass) clxclass
 {
 __automated:
 int__fastcall fooInt(int);// OK
 long__fastcall fooLong(long);// エラー: long は不正
 };