--- Comment #3 from paolo dot carlini at oracle dot com 2010-06-03 17:00
---
Jason certainly followed these developments, I remember, let's CC him.
--
paolo dot carlini at oracle dot com changed:
What|Removed |Added
---
--- Comment #2 from schaub-johannes at web dot de 2010-06-03 16:45 ---
The Standard allows this at 9.2/13a ("In addition, if class T has a
user-declared constructor (12.1), every nonstatic data member of class T shall
have a name different from T."). In our case we don't have a user decl
--- Comment #1 from pinskia at gcc dot gnu dot org 2010-06-03 15:32 ---
There was a defect report in the C++ standard about X::X; I cannot remember
what happens with a member variable being named the same as the class name
though.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44401