Abdelrazak Younes <[EMAIL PROTECTED]> writes: | Angus Leeming wrote: | > In src/frontends/gtk/WorkAreaFactory.C you introduce a new static | > global variable. | | By the way, I have always believed that, in C++, the keyword static in | this case is to say that this variable is _not_ global but reserved to | this file. This is different for a static variable inside a function. | So If I am right I am not polluting the global namespace by doing | that. Am I wrong there?
We don't uusually use static in filescope, we use anon namespaces instead. -- Lgb