A declaration that declares a function
or defines a class, namespace, template, or function also has one or
more scopes nested within it
. These nested scopes, in turn, can have
declarations nested within them
. Unless otherwise stated, utterances in
[dcl.dcl] about components in, of, or contained by a
declaration or subcomponent thereof refer only to those components of
the declaration that are
not nested within scopes nested within
the declaration
.