הערה
הגישה לדף זה מחייבת הרשאה. באפשרותך לנסות להיכנס או לשנות מדריכי כתובות.
הגישה לדף זה מחייבת הרשאה. באפשרותך לנסות לשנות מדריכי כתובות.
'destructor' : an interface cannot have a destructor
Remarks
A Visual C++ interface cannot have a destructor.
Example
The following example generates C2849:
// C2849.cpp
// compile with: /c
__interface C {
~C(); // C2849 destructor not allowed in an interface
};