This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/46105] Ordering failure among partial specializations with non-deduced context
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 27 Oct 2010 21:03:58 +0000
- Subject: [Bug c++/46105] Ordering failure among partial specializations with non-deduced context
- Auto-submitted: auto-generated
- References: <bug-46105-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46105
--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> 2010-10-27 21:03:50 UTC ---
I think the point is that the element<T const> partial specialization should be
preferred, but GCC considers them ambiguous, and uses the primary template.