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 #33413 is a reply to message #33410] Tue, 02 August 2011 10:35 Go to previous messageGo to previous message
Didier is currently offline  Didier
Messages: 732
Registered: November 2008
Location: France
Contributor
mirek wrote on Mon, 01 August 2011 12:50

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



Humm,

I remember some work I did 10 years ago and this was not true then, but if gcc deals with it now : great !
 
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: Tue Jul 01 19:42:59 CEST 2025

Total time taken to generate the page: 0.04803 seconds