Why empty destructor in gtkmm HelloWorld example?
- From: Francesco Pretto <ceztkoml gmail com>
- To: gtkmm-list gnome org
- Subject: Why empty destructor in gtkmm HelloWorld example?
- Date: Mon, 11 Jan 2010 09:51:24 +0100
Hello, can someone explain me what's the rule of the empty ~HelloWorld()
destructor in gtkmm Hello World example[1]? Actually base class
Gtk::Window destructor would be called anyway, whatever ~HelloWorld()
is defined or not, and it's not clear to me if it's just a redundant
statement, a convention or something that's really needed by gtkmm to
proper deallocate memory.
Thanks,
Francesco
http://library.gnome.org/devel/gtkmm-tutorial/unstable/sec-helloworld.html.en
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]