+ 5
Interview Question: why we need a virtual destructor in C++?
Virtual functions aren't cheap, but there is a case when it is necessary for a class destructor to be virtual. Why?
4 Respuestas
+ 5
Hi here is the link to previous discussion about this topic. https://www.sololearn.com/Discuss/958953/?ref=app
+ 5
Thanks Highman !
+ 2
you are welcome;)
+ 1
to have more memory when we finish the programm