הערה
הגישה לדף זה מחייבת הרשאה. באפשרותך לנסות להיכנס או לשנות מדריכי כתובות.
הגישה לדף זה מחייבת הרשאה. באפשרותך לנסות לשנות מדריכי כתובות.
'class::~identifier' : destructor/finalizer tag mismatch
Remarks
The name of the destructor must be the class name preceded by a tilde (~). The constructor and destructor are the only members that have the same name as the class.
Example
The following example generates C2523:
// C2523.cpp
// compile with: /c
class A {
~B(); // C2523
~A(); // OK
};