What to do about dpointers

David Faure faure at kde.org
Fri May 18 19:48:15 BST 2007


On Friday 18 May 2007, Andreas Pakulat wrote:
> > But, even if your class doesn't have any private members it is still
> > good practice to give it a const dpointer and initialize it to 0.
> 
> So that is done in kdelibs as well?

Yes.

-- 
David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).




More information about the kde-core-devel mailing list