नोट
इस पृष्ठ तक पहुंच के लिए प्राधिकरण की आवश्यकता होती है। आप साइन इन करने या निर्देशिकाएँ बदलने का प्रयास कर सकते हैं।
इस पृष्ठ तक पहुंच के लिए प्राधिकरण की आवश्यकता होती है। आप निर्देशिकाएँ बदलने का प्रयास कर सकते हैं।
'derived class' : destructor was implicitly defined as deleted because a base class destructor is inaccessible or deleted
Remarks
A destructor was not accessible or deleted in a base class and was therefore not generated for a derived class. Any attempt to create an object of this type on the stack will cause a compiler error.
Example
The following example generates C4624 and shows how to fix it:
// C4624.cpp
// compile with: /W1 /c
class B {
// Uncomment the following line to fix.
// public:
~B();
};
class D : public B {}; // C4624 B's destructor not public