Using namespace limitation

When we use different libraries that might have defined the same word in one of its namespaces, and we use one of them as a predefined namespace for the whole code (with using namespace x) we run into the danger of clashing namespaces and calling out wrong functions or constants into the program. Instead, calling out the namespace before the function each time it is used might prevent errors.

Privacy & Terms