using namespace
allows the programmer to save keystrokes for the rest of the file. Also that carries over into any file that includes that file. The answer is saying that possibly there is already a function named Quux in one namespace. So code that just calls Quux would call the version from the first namespace. However, if that function is added to a second namespace, then Quux could really come from either of the namespaces since both of them are being used.using namespace
, a programmer has to type the name of the namespace to tell the compiler that Quux comes from namespace one One::Quux
. In that situation, when Quux is added to namespace two, the compiler has no confusion.