This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/1914: [parser] parse error at template default arg in ctor
- From: bangerth at dealii dot org
- To: Richard dot Kreckel at Uni-Mainz dot DE, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org
- Date: 31 Oct 2002 02:03:52 -0000
- Subject: Re: c++/1914: [parser] parse error at template default arg in ctor
- Reply-to: bangerth at dealii dot org, Richard dot Kreckel at Uni-Mainz dot DE, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org
Synopsis: [parser] parse error at template default arg in ctor
State-Changed-From-To: analyzed->closed
State-Changed-By: bangerth
State-Changed-When: Wed Oct 30 18:03:52 2002
State-Changed-Why:
Not a bug.
This is another instance of the problem of default arguments
with templates with more than two template parameters. Since
default argument parsing stops at the first comma not nested
in parentheses, there results a parse error.
There are many more instances of this in the archives.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=1914