Compiler Error C3209
'class' : generic class must be a managed or WinRTclass
A generic class must be a managed class or a Windows Runtime class.
The following sample generates C3209 and shows how to fix it:
// C3209.cpp
// compile with: /clr
generic <class T>
class C {}; // C3209
// OK - ref class can be generic
generic <class T>
ref class D {};
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for