E2166 Destructor for 'class' is not accessible (C++)
Go Up to Compiler Errors And Warnings (C++) Index
The destructor for this C++ class is protected or private, and can't be accessed here to destroy the class.
If a class destructor is private, the class can't be destroyed, and thus can never be used. This is probably an error.
A protected destructor can be accessed only from derived classes.
This is a useful way to ensure that no instance of a base class is ever created, but only classes derived from it.