What is a nested name specifier?

::S is a qualified-id. In the qualified-id ::S::f, S:: is a nested-name-specifier. In informal terms1, a nested-name-specifier is the part of the id that begins either at the very beginning of a qualified-id or after the initial scope resolution operator (::) if one appears at the very beginning of the id and ends with the … Read more

tech