Misuse of K_GLOBAL_STATIC?

Jaroslaw Staniek js at iidea.pl
Wed May 14 12:29:05 BST 2008


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.

-- 
regards / pozdrawiam, Jaroslaw Staniek
  Sponsored by OpenOffice Polska (http://www.openoffice.com.pl/en) to work on
  Kexi & KOffice (http://www.kexi.pl/en, http://www.koffice.org/kexi)
  KDE Libraries for MS Windows (http://windows.kde.org)




More information about the kde-core-devel mailing list