https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42490
Eelis changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
--- Comment #3 from schaub-johannes at web dot de 2010-02-11 23:39 ---
(In reply to comment #2)
> I also think the code is valid. In this case though, there is the complication
> that no hiding takes place [...]
>
Wasn't aware that this is also a case of hiding, but 3.3.10 about hiding
--- Comment #2 from schaub-johannes at web dot de 2010-02-11 23:28 ---
I also think the code is valid. In this case though, there is the complication
that no hiding takes place: The qualified name lookup of "X::m" for namespace
members says in 3.4.3.2/2: "using-directives are ignored in
--- Comment #1 from redi at gcc dot gnu dot org 2010-01-07 21:05 ---
I think the code is valid
3.4.4 [basic.lookup.elab]/1
An elaborated-type-specifier (7.1.6.3) may be used to refer to a
previously declared class-name or enum-name even though the name has
been hidden by a non-type decl