Static functions

Rolf Magnus ramagnus at kde.org
Mon Feb 16 08:43:56 GMT 2004


On Monday 12 January 2004 16:06, Dirk Mueller wrote:
> On Monday 12 January 2004 15:30, Ian Reinhart Geiser wrote:
> > (and remarkably clean) to put them in a namespace, and leave them as
> > static.
>
> The static inside classes is a different static than the on Bo was talking
> about.

I think that Ian is aware of that. Putting them in a namespace instead of 
making them static members of a "utility" class is almost the same. Making 
them static in the namespace additionally prevents their symbols from being 
exported.




More information about the kde-core-devel mailing list