Quantcast
Channel: User rmn - Stack Overflow
Viewing all articles
Browse latest Browse all 41

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

$
0
0

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 all articles
Browse latest Browse all 41

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>