On Sun, Jun 04, 2006 at 09:38:01PM +0200, Abdelrazak Younes wrote:
> 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?

If I understand correctly what you are saying, you are essentially right.

Amdre'

Reply via email to