3. zNamespaces #
Created Thursday 23 January 2020
https://www.studytonight.com/cpp/namespace-in-cpp.php Very good and informative. Namespaces can be unioned.
Three ways:
- Using explicit ::
- using directive, everything is availble. i.e mapped.
- using declartion, parts are available. i.e mapped.
Note: Member functions and data members don’t need to be specified a namespace, as the object is already mapped. Remember two objects cannot have the same name. But two namespace can have the same name, they are unioned, not overridden.