[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: Misuse of K_GLOBAL_STATIC?
From:       Matthias Kretz <kretz () kde ! org>
Date:       2008-05-14 11:55:04
Message-ID: 200805141355.18001.kretz () kde ! org
[Download RAW message or body]


On Wednesday 14 May 2008, Jaroslaw Staniek wrote:
> Or.. perhaps there's no difference for static data, which is exactly what
> K_GLOBAL_STATIC defines...
> Of course the rationale for keeping that, is: the ctors are often private
> so there's no way to move K_GLOBAL_STATIC out.
> If there's no flaw in this the usage, I'll just think about updating api
> docs.

How to make ctors/dtors private is documented:
http://api.kde.org/4.x-api/kdelibs-apidocs/kdecore/html/group__KDEMacros.html#g75ca0c60b03dc5e4f9427263bf4043c7


-- 
________________________________________________________
Matthias Kretz (Germany)                            <><
http://Vir.homelinux.org/
MatthiasKretz@gmx.net, kretz@kde.org,
Matthias.Kretz@urz.uni-heidelberg.de


["signature.asc" (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic