This is the mail archive of the gcc-bugs@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++/10141: Member template parsing problem


http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&p
r=10141

Your snippet does not make much sense, since there is no Foo::NumOf in the
sight. If you rename NumOf into Bar, it works.
Probably you did a mistake reducing the snippet. Anyway, the code is also
missing the template keyword to disambiguate the parser (use return
foo.template Bar<T1>()).
Not a bug, unless the poster provides another snippet.

Giovanni Bajo


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