หมายเหตุ
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลอง ลงชื่อเข้าใช้หรือเปลี่ยนไดเรกทอรีได้
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลองเปลี่ยนไดเรกทอรีได้
'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
};