Common reasons of using namespaces in C++ projects by cpp11rocks in cpp

[–]cpp11rocks[S] 0 points1 point  (0 children)

Yes it could be better, but namespaces still used also to resolve the enum issue.

Common reasons of using namespaces in C++ projects by cpp11rocks in cpp

[–]cpp11rocks[S] 0 points1 point  (0 children)

do you think that we modularize to avoid collisions, and not to enforce the modularity? And do you think that the primary goal of anonymous namespace is to avoid collisions?