Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Core » Polymorphic Array doubt
Re: Poluporphyc Array doubt [message #33427 is a reply to message #33426] Thu, 04 August 2011 12:38 Go to previous message
cbpporter is currently offline  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 Smile.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: PLATFORM_X11 warnings
Next Topic: BUG? or Not BUG? LoadFile(filename) and then getting wrong data
Goto Forum:
  


Current Time: Sun Jun 09 12:10:20 CEST 2024

Total time taken to generate the page: 0.02748 seconds