Thursday, December 11, 2014

C++ Necessary to Call Base Destructor?

The answer is no, it is automatically called, but it is also somehow important that the destructor is virtual if the class will be inherited.

Reference: http://stackoverflow.com/questions/677620/do-i-need-to-explicitly-call-the-base-virtual-destructor

No comments:

Post a Comment