Compiler Error C3622
'class' : a class declared as 'keyword' cannot be instantiated
An attempt was made to instantiate a class marked as abstract. A class marked as abstract
can be a base class, but it cannot be instantiated.
Example
The following sample generates C3622.
// C3622.cpp
// compile with: /clr
ref class a abstract {};
int main() {
a aa; // C3622
}
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