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 #33410 is a reply to message #33409] Mon, 01 August 2011 12:50 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14264
Registered: November 2005
Ultimate Member
Didier wrote on Mon, 01 August 2011 05:52

Hi Koldo and Honza,

I noticed that the virual destructor was sometimes missing in some controls, ex: RichEditWithToolBar

Fortunatly this does not lead to any leaks (most of the time) thank's to the "everything belongs somewhere" in U++.

But this is a real bug.




'virtuality' of destructor is inherited in C++. Therefore, as long as Ctrl has virtual destructor (and it does...), all derived classes have one too.

Mirek
 
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: Thu Jul 03 10:01:07 CEST 2025

Total time taken to generate the page: 0.03770 seconds