This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/3826: Parse error for static nested class member functions
- To: gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, tme at lanl dot gov, tmonster at lanl dot gov
- Subject: Re: c++/3826: Parse error for static nested class member functions
- From: ljrittle at gcc dot gnu dot org
- Date: 26 Jul 2001 07:21:03 -0000
Synopsis: Parse error for static nested class member functions
State-Changed-From-To: open->closed
State-Changed-By: ljrittle
State-Changed-When: Thu Jul 26 00:21:02 2001
State-Changed-Why:
Bug in user-provided code. The fix posted by the author
of the PR (to the user code) is correct. Templated code
must advise the compiler when a name (scoped through a
template argument) name refers to a type or it is
considered ill-formed.
[BTW, I don't know how to do this without the dummy
typedef either.]
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=3826&database=gcc