We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
git grep 'using namespace' **.hpp
"using namespace" at global scope a header violates the cpp core guidelines:
https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#Rs-using-directive
"using namespace" in namespace scope is not called out but it is equally frowned upon because unexpected side effects:
foo.hpp:
namespace foo { using namespace std; };
main.cpp:
#include foo.hpp using namespace foo; // oops - I have now pulled in namespace std?!?
The text was updated successfully, but these errors were encountered:
bradbishop
No branches or pull requests
git grep 'using namespace' **.hpp
"using namespace" at global scope a header violates the cpp core guidelines:
https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#Rs-using-directive
"using namespace" in namespace scope is not called out but it is equally frowned upon because unexpected side effects:
foo.hpp:
main.cpp:
The text was updated successfully, but these errors were encountered: