Aliases for namespace Names

namespaces can be aliased. For example the statement

namespace CPPHTP = CPlusPlusHowToProgram;

creates the namespace alias CPPHTP for CPlusPlusHowToProgram.

Get C++11 for Programmers, Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.