“keyword”: “__event”关键字只能用于作为委托的指针的 COM 接口、成员函数和数据成员
注解
关键字未正确使用。
Example
以下示例生成 C3626:
// C3626.cpp
// compile with: /c
struct A {
__event int i; // C3626
// try the following line instead
// __event int i();
};
“keyword”: “__event”关键字只能用于作为委托的指针的 COM 接口、成员函数和数据成员
关键字未正确使用。
以下示例生成 C3626:
// C3626.cpp
// compile with: /c
struct A {
__event int i; // C3626
// try the following line instead
// __event int i();
};