Jump to content

C++ Language/Namespace/NamespaceShortcuts

From Wikibooks, open books for an open world

Anything defined with namespace NRNamespace {...} will require additional qualification (writing variable giVarB as NRNamespace::giVarB) unless you have requested to skip that requirement on a case-by-case basis (programming using NRNamespace::giVarB;).

Or, the qualification requirement could be skipped for an entire namespace all at once.

Additional information about namespace shortcuts (includes interactive examples)