This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/21783] [DR 409] Typename for required for qualified name?
- From: "reichelt at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Jun 2005 19:07:36 -0000
- Subject: [Bug c++/21783] [DR 409] Typename for required for qualified name?
- References: <20050527143655.21783.florent.gallet@orange.fr>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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