This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: C++ parser issue [templ.res]


Jan Van Dijk <janvandijkinjapan@yahoo.co.jp> writes:

[...]

| Qualifying i as B<T>::i (thus making i a dependent name explicitly)
| fixes the problem, see ugly(). To my surprise, look up of member
| variables is now different from that of member functions: f() does
| not need to be qualified (see good()). Either I missed a crucial 
| section of the standard (which one?), or this is a parser bug.
| 
Parser bug.

-- Gaby


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]