This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/9483: [3.4 regression] [New parser] Member with same nameas class allowed
- From: Wolfgang Bangerth <bangerth at ticam dot utexas dot edu>
- To: nobody at gcc dot gnu dot org
- Cc: gcc-prs at gcc dot gnu dot org,
- Date: 29 Jan 2003 15:06:00 -0000
- Subject: Re: c++/9483: [3.4 regression] [New parser] Member with same nameas class allowed
- Reply-to: Wolfgang Bangerth <bangerth at ticam dot utexas dot edu>
The following reply was made to PR c++/9483; it has been noted by GNATS.
From: Wolfgang Bangerth <bangerth@ticam.utexas.edu>
To: Christian Ehrhardt <ehrhardt@mathematik.uni-ulm.de>
Cc: gcc-gnats@gcc.gnu.org, <gcc-bugs@gcc.gnu.org>
Subject: Re: c++/9483: [3.4 regression] [New parser] Member with same name
as class allowed
Date: Wed, 29 Jan 2003 09:05:22 -0600 (CST)
On Wed, 29 Jan 2003, Christian Ehrhardt wrote:
> For the sake of completness: Members with the same name as the class
> are expressly forbidden by 9.2[13].
Of course they are: that name is reserved for the constructor :-)
W.
-------------------------------------------------------------------------
Wolfgang Bangerth email: bangerth@ticam.utexas.edu
www: http://www.ticam.utexas.edu/~bangerth/