Udostępnij przez


Błąd kompilatora C3740

szablony nie mogą źródle lub odbierać zdarzeń

Uwagi

Klasa lub struktura szablonu nie może zawierać zdarzeń.

Example

Poniższy przykład generuje kod C3740:

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

int main() {
}