This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/33744] function-style cast not allowed in template argument
- From: "bangerth at dealii dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Oct 2007 12:52:34 -0000
- Subject: [Bug c++/33744] function-style cast not allowed in template argument
- References: <bug-33744-28@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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