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++/33744] function-style cast not allowed in template argument



------- Comment #1 from bangerth at dealii dot org  2007-10-12 12:52 -------
It's not the parentheses or the greater-than sign, but the cast
that triggers the error. I will have to look up whether a cast
is allowed here. For reference, icc accepts the code.

W.


-- 

bangerth at dealii dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|> within function-style cast|function-style cast not
                   |incorrectly parsed as       |allowed in template argument
                   |closing template angle      |
                   |bracket                     |


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


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