There was an error while loading. Please reload this page.
1 parent a9de313 commit bece988Copy full SHA for bece988
03-Style.md
@@ -90,9 +90,11 @@ int myFunc()
90
91
which would be impossible if the function comment header used `/* */`
92
93
-## Never Use `using` In a Header File
+## Never Use `using namespace` In a Header File
94
95
This causes the name space you are `using` to be pulled into the namespace of the header file.
96
+It litters the own namespace and it may lead to name collisions in the future.
97
+Writing `using namespace` in an implementation file is fine though.
98
99
100
## Include Guards
0 commit comments