Static functions

David Leimbach leimy2k at mac.com
Mon Jan 12 15:16:02 GMT 2004


On Jan 12, 2004, at 9:06 AM, 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.
>
>
Right... static class data or members just means that it is associated 
with the
class and not instances of the class.

Static functions in a file are only viewable within the translation 
unit.

Dave





More information about the kde-core-devel mailing list