Using Namespaces

Namespaces have to be written exactly as they are, however, the 'using' method allows us to make namespaces simpler.

If you use qualified names, you have to use them exactly as defined. For each namespace you must put the scope resolution operator ::. More libraries of the C++ standard library use nested namespaces.

Get hands-on with 1200+ tech skills courses.