[Bug c++/44401] Doesn't correctly hide injected class name

2010-06-03 Thread paolo dot carlini at oracle dot com
--- 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 ---

[Bug c++/44401] Doesn't correctly hide injected class name

2010-06-03 Thread schaub-johannes at web dot de
--- 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

[Bug c++/44401] Doesn't correctly hide injected class name

2010-06-03 Thread pinskia at gcc dot gnu dot org
--- 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