For a namespace
X and name
m, the namespace-qualified lookup set
S(X,m) is defined as follows: Let
S′(X,m) be the set of all
declarations of
m in
X and the inline namespace set of
X (
[namespace.def])
whose potential scope (
[basic.scope.namespace])
would include the namespace in which
m is declared
at the location of the
nested-name-specifier.