Using namespace <namespace> explanation

The risk of putting using namespace at the start of a file is ambiguity in the code.
It’s possible to have several functions available with the same name. Not writing "using namespace " at the start of the file forces the developer to specify the namespace for each function call, removing any possibility of an ambiguity.

Privacy & Terms