Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

Compiler Warning (level 4) C4432

Error Message

a destructor in a ref-class must have public accessibility; changing to public access

The compiler made a destructor public. To resolve this warning, explicitly put the destructor in a public section of the class.

For more information, see Destructors and Finalizers in Visual C++.

Community Additions

ADD
Show:
© 2015 Microsoft