|
I think namespaces are there to resolve naming conflicts for linker in different parts of the program. For example, if you had a function with declaration "int foo() {}" in one file of your program, you shouldnot be able to have the same thing somewhere else unless its in different namespace. This is vary useful in program organization in large programs. Should be nothing more and nothing less.
__________________
Spread your wings and fly! Chicken!
|