[PATCH] Removing unnecessary friend declarations from kcolordialog.h

Thiago Macieira thiago at kde.org
Sun Oct 5 07:31:51 BST 2008

Christoph Bartoschek wrote:
>This means that there is no need to make nested classes friend. Although
> this is the text of the comming standard any decent compiler should
> support this and at least GCC does.

That's the upcoming standard. We can expect to start using it around 2011, 
assuming it is published next year.

For existing compilers, we have to follow the rules of C++98.
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20081005/c964aa56/attachment.sig>

More information about the kde-core-devel mailing list