cbpporter Messages: 1401 Registered: September 2007
Ultimate Contributor
koldo wrote on Thu, 04 August 2011 13:36
Yes, that's it. I thought destructors were virtual by default.
Nothing is virtual by default because of the added cost of the vtable. C++ inherits from C, so they wouldn't force you to use something with less performance and higher memory use by default .