...
This code is noncompliant because it alters the standard namespace.
Code Block | ||||
---|---|---|---|---|
| ||||
namespace std { int x; }; |
Compliant Solution
Code Block | ||||
---|---|---|---|---|
| ||||
namespace nonstd { int x; }; |
...
...
This code is noncompliant because it alters the standard namespace.
Code Block | ||||
---|---|---|---|---|
| ||||
namespace std { int x; }; |
Code Block | ||||
---|---|---|---|---|
| ||||
namespace nonstd { int x; }; |
...