Nested namespaces are useful in large-scale projects, whereby every development team gets a dedicated namespace within the project’s namespace. Nested namespaces reduce the likelihood of name clashes among different teams within the same project.
namespace proj // a namespace for the entire project{ namespace dba_team // nested; used by database administration team { class Connection {}; // database connection //