[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: [RFC] Proper initialization of class members and variables
From: Kevin Krammer <kevin.krammer () gmx ! at>
Date: 2005-11-19 13:38:00
Message-ID: 200511191438.06123.kevin.krammer () gmx ! at
[Download RAW message or body]
On Saturday 19 November 2005 11:11, Christian Ehrlicher wrote:
> + else
> + {
> + m_sycocaDict = 0;
> + }
> + m_entryDict = 0;
> + m_resourceList = 0;
Wouldn't it be cleaner to initialize the variables in the constructor's
initalization list?
Cheers,
Kevin
--
Kevin Krammer <kevin.krammer@gmx.at>
Qt/KDE Developer, Debian User
Moderator: www.mrunix.de (German), www.qtforum.org
[Attachment #3 (application/pgp-signature)]
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic