Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

Virtual Destructors in C++

Hi All,

I have just started looking seriously into C++. One concept that I still need more explaination on is the use of Virtual destructors in case of polymorphism and inheritance.

Could some kind sould please enlighten me as to the exact use and functionalities of declaring destructors as virtual in a base class?

Thanks for the time

Cheers
[379 byte] By [prahaladd] at [2007-11-11 10:21:20]