分享方式:


編譯器錯誤 C3740

範本無法來源或接收事件

樣板化類別或結構不能包含 事件

下列範例會產生 C3740:

// C3740.cpp
template <typename T>   // Delete the template specification
struct E {
   __event void f();   // C3740
};

int main() {
}