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]

[Bug c++/57] [DR 325] GCC can't parse a non-parenthesized comma in a template-id within a default argument


------- Additional Comments From bangerth at ices dot utexas dot edu  2004-04-30 14:01 -------
Subject: Re:  [DR 325] GCC can't parse a non-parenthesized comma in a template-id within a default argument


How funny, the reference is indeed in the standard, it's the last declaration 
on page 502, section 23.3.5.1. Maybe someone can see if there is a defect 
report, though I can't seem to find one if it exists.

It's easy to work around, though, by just duplicating the constructor, and 
having one take the third argument and one not taking it.

W.

-------------------------------------------------------------------------
Wolfgang Bangerth              email:            bangerth@ices.utexas.edu
                               www: http://www.ices.utexas.edu/~bangerth/



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57


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