What is the use of ‘using’ declaration?

What is the use of ‘using’ declaration?

- In 'using-declaration', we have 'using' keyword followed by a fully qualified name of a namespace member.
- This allows using the non-qualified name of that member in the scope of the 'using-declaration'.
- The 'using-declaration' introduces a name into the declarative region in which the 'using-declaration' appears.
- This declaration provides access to a specific namespace member.
What is the difference between Mutex and Binary semaphore? - C++
Difference between Mutex and Binary semaphore - Semaphore synchronizes processes where as mutex synchronizes threads...
What is the scope resolution operator? - C++
What is the scope resolution operator? - Scope resolution operator allows a program to reference an identifier in the global...
What are the advantages of inheritance? - C++
What are the advantages of inheritance? - Code reusability, Saves time in program development....
Post your comment