are destructors called?
Kevin Krammer
kevin.krammer at gmx.at
Thu Jun 5 21:15:26 BST 2003
On Thursday 05 June 2003 20:20, Martin Köbele wrote:
> Hello,
hi
> Is the ~P() called, when I quit the program (alt+f4, or File->quit,
> etc)?
>
> It seems, that it's not _always_ called , which confuses me.
>
> How is that with the destructors?
You create P on the stack, i.e. not using new
Then the instance will be destroyed when the scope of main() ends.
> please cc to my address!
I will, but I think it would be better to subscibe to mailinglist you ask
questions on.
For kde development questions I'd recommend kde-devel.
Cheers,
Kevin
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Kevin Krammer <kevin.krammer at gmx.at>
Developer at the Kmud Project http://www.kmud.de/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: signature
URL: <http://mail.kde.org/pipermail/kde/attachments/20030605/abf911c5/attachment.sig>
-------------- next part --------------
___________________________________________________
This message is from the kde mailing list.
Account management: http://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.
More information about the kde
mailing list