|
Rockbox mail archiveSubject: Re: Destructors in Theme Editor: virtual or non virtual?Re: Destructors in Theme Editor: virtual or non virtual?
From: pouly amaury <amaury.pouly_at_gmail.com>
Date: Thu, 17 Jun 2010 13:55:25 +0200 > Hrm... I'd understand it the other way around: it should be virtual so that > the correct (of the derived class) destructor is called when the object is > destroyed by the framework (probably a call via a pointer to a base class). > That's not as easy, if my understanding of destructors is correct. There are some cases where is does not work that way I think. > But the net effect is the same ! :-) > Agree on that :) Received on 2010-06-17 Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy |