google / styleguide

Style guides for Google-originated open-source projects
https://google.github.io/styleguide/
Apache License 2.0
37.53k stars 13.3k forks source link

Clarifying namespace using #845

Open ArvindReddySheelam opened 3 months ago

ArvindReddySheelam commented 3 months ago

Description: This pull request addresses the confusion in the Namespaces section regarding the usage of "using namespace directives" and "using declarations". The changes include:

-> Explicitly stating the prohibition of using namespace directives. -> Introduced a section on allowed using declarations. -> Added detailed explanations and examples to highlight the differences between the two. -> These changes aim to reduce confusion, improve code quality, provide clear guidance, and enhance consistency in the application of namespace-related best practices.