This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/45747] Enums are stronger than templates
- From: "gcc at magfr dot user dot lysator dot liu dot se" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Sep 2010 15:19:53 -0000
- Subject: [Bug c++/45747] Enums are stronger than templates
- References: <bug-45747-7796@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from gcc at magfr dot user dot lysator dot liu dot se 2010-09-22 15:19 -------
Created an attachment (id=21861)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21861&action=view)
Test case showing the bug
Compile with
g++ enums-and-template-params.cpp
to trigger the bug
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45747