Quantcast
Viewing latest article 37
Browse Latest Browse All 39

Answer by rmn for When to use static keyword before global variables?

The correct mechanism for C++ in anonymous namespaces. If you want something that is local to your file, you should use an anonymous namespace rather than the static modifier.


Viewing latest article 37
Browse Latest Browse All 39

Trending Articles