View Single Post

  #5 (permalink)  
Old 04-19-2007, 04:00 PM
Rahulbatra Rahulbatra is offline
Senior Member
 
Join Date: Apr 2006
Posts: 145
Rahulbatra is on a distinguished road
The main reason for the need of virtual destructors is that the user would like to have virtual destructors just so that the correct destructor is called when an object is deleted. So it is always good and wise to use virtual destructors, even if objects don't need any destruction.
Reply With Quote