This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/9834: Duplicate use of class name is ignored
- From: lerdsuwa at gcc dot gnu dot org
- To: andrew dot carson at brooks-pri dot com, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org
- Date: 6 Mar 2003 15:00:40 -0000
- Subject: Re: c++/9834: Duplicate use of class name is ignored
- Reply-to: lerdsuwa at gcc dot gnu dot org, andrew dot carson at brooks-pri dot com, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org
Synopsis: Duplicate use of class name is ignored
State-Changed-From-To: analyzed->closed
State-Changed-By: lerdsuwa
State-Changed-When: Thu Mar 6 15:00:40 2003
State-Changed-Why:
Not a bug. Inside the scope of class 'A', the name 'A' is introduced to refer to the class itself. So 'A::A' (the name 'A' inside class 'A') is equivalent to 'A' and so on.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9834