3.4.6 [basic.lookup.udir] paragraph 1:
In a using-directive or namespace-alias-definition, during the lookup for a namespace-name or for a name in a nested-name-specifier, only namespace names are considered.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
Functionally, this looks good. How do the diagnostics look in the case where lookup only finds a non-namespace name? Eg,
struct A { struct B {}; }; namespace X = A::B;