This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/13244] New: Demangler should parenthesize > operator?
- From: "drow at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Nov 2003 18:47:53 -0000
- Subject: [Bug c++/13244] New: Demangler should parenthesize > operator?
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Consider:
template <int T> class foo { public: foo() { } class Z { };};
template <int I> void dep9(foo<(I) > (2)> *) { }
00000000 W void dep8<3>(foo<(3) > (2)>*)
I'm told there's a DR about this. But definitely GCC doesn't accept something
like <3 > 2>, you have to say <(3 > 2)>. Probably the demangler should do
something similar?
--
Summary: Demangler should parenthesize > operator?
Product: gcc
Version: 3.4
Status: UNCONFIRMED
Severity: minor
Priority: P2
Component: c++
AssignedTo: ian at airs dot com
ReportedBy: drow at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13244