------- Additional Comments From reichelt at gcc dot gnu dot org  2005-06-07 
19:07 -------
> There is a DR and surely another bug report about this. It's uncertain 
> whether 
> typename is needed to disambiguate a qualified name where the scope is the 
> injected class name (which always refers to the current instantiation).

You're right Giovanni, it's DR 409.

The proposed solution is to not require the "typename".
But then we'd also have a bug, because GCC had to accept the declaration
A::B b;

So with either outcome of the DR, we'll have to change the compiler.
Let's suspend it until the DR is solved.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |SUSPENDED
            Summary|No typename required when   |[DR 409] Typename for
                   |type use in a function      |required for qualified name?


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21783

Reply via email to