3 ms·
It also gives you a nice private namespace for the translation unit so you can confidently modify any of the static objects without concern for impacting extern
by kevin_thibedeau 5y ago
It also gives you a nice private namespace for the translation unit so you can confidently modify any of the static objects without concern for impacting external code.
I once had a gray beard chew me out over changing a function signature when revising things. I had to point out politely that it was static and that anyone who managed to link to the function had to be breaking a lot of rules to do so.