नोट
इस पृष्ठ तक पहुंच के लिए प्राधिकरण की आवश्यकता होती है। आप साइन इन करने या निर्देशिकाएँ बदलने का प्रयास कर सकते हैं।
इस पृष्ठ तक पहुंच के लिए प्राधिकरण की आवश्यकता होती है। आप निर्देशिकाएँ बदलने का प्रयास कर सकते हैं।
'destructor' : override specifier 'keyword' not allowed on a destructor/finalizer
Remarks
A keyword was used that is not allowed on a destructor or finalizer.
For example, a new slot cannot be requested on a destructor or finalizer. For more information, see Explicit Overrides and Destructors and finalizers.
Example
The following example generates C3665:
// C3665.cpp
// compile with: /clr
public ref struct R {
virtual ~R() { }
virtual void a() { }
};
public ref struct S : R {
virtual ~S() new {} // C3665
virtual void a() new {} // OK
};