Warning when C ++ global variables are not explicitly initialized?
1 answer
According to the standard, there is no reason to warn about implicit initialization, it is no different from explicit. If you are a good enough derivative, you can replace traditional types with templates that will warn you about this. But that defeats the goal of being lazy, right?
Or better yet, don't use naked pointers, pornography anti-aliasing isn't cool.
+2
source to share