Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
'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
}