|
|
Rockbox mail archiveSubject: Re: Destructors in Theme Editor: virtual or non virtual?Re: Destructors in Theme Editor: virtual or non virtual?
From: Al Le <Al.Le_at_gmx.de>
Date: Thu, 17 Jun 2010 17:02:26 +0200
> Out of curiosity I looked at the code of the Theme Editor which is written
The above statement is correct. But it seems also correct that if the destructor is declared as virtual in the base class then it's automatically virtual in all (directly or indirectly) derived classes. So the code in the Theme Editor is OK.
-- GMX DSL: Internet-, Telefon- und Handy-Flat ab 19,99 EUR/mtl. Bis zu 150 EUR Startguthaben inklusive! http://portal.gmx.net/de/go/dslReceived on 2010-06-17 Page was last modified "Jan 10 2012" The Rockbox Crew |