+ 8
Globals and Unnamed Namespaces
I have seen a few examples of people putting globals inside unnamed namespaces. i.e namespace { const int myGlobal = 4; } what is the purpose of using a blank namespace. Shouldnt we be using a named namespace?
1 Resposta
+ 10
..... google to the rescue! lol..
Replacement for static.. 😊 sorry for the disturbance folks.. back to it!
http://www.comeaucomputing.com/techtalk/#nostatic