This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/10141: Member template parsing problem
- From: "Giovanni Bajo" <giovannibajo at libero dot it>
- To: <gcc-gnats at gcc dot gnu dot org>,<rodrigo at esss dot com dot br>,<gcc-bugs at gcc dot gnu dot org>,<nobody at gcc dot gnu dot org>,<gcc-prs at gcc dot gnu dot org>
- Date: Tue, 18 Mar 2003 22:30:15 +0100
- Subject: 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