+ 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 Answer
+ 10
..... google to the rescue! lol..
Replacement for static.. đ sorry for the disturbance folks.. back to it!
http://www.comeaucomputing.com/techtalk/#nostatic