Problem with using namespace

if you have a function name in two different namespaces, then when you use that function in your code it will be ambiguous as to which namespace you are referring to. to remove the ambiguity, you would have to type namespace::func everytime you refer to that function in your code.

Privacy & Terms