------- Comment #3 from gdr at cs dot tamu dot edu  2007-03-23 18:33 -------
Subject: Re:  data members in multiple inheritance

"pinskia at gcc dot gnu dot org" <[EMAIL PROTECTED]> writes:

| Maybe this is not obvious to me why this is valid code, why is this
| valid code? 

paragrpah 10.2/2 from the C++ standard.

d->x should resolve unambiously to d->C::x, because C::x hides
A::x and B::x.  

-- Gaby


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31326

Reply via email to