Angus Leeming <[EMAIL PROTECTED]> writes:

| Lars Gullik Bjønnes wrote
| > Abdelrazak Younes <[EMAIL PROTECTED]> writes:
| >| 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.
| 
| and I would argue that most of these variables in the
| LyX source that are local to a file (either static or
| in an anon namespace) are kludges.

I won't argue with that.


-- 
        Lgb

Reply via email to