This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/13640] Failing to reject class template partial specialization which can never be selected
- From: "gdr at integrable-solutions dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Jan 2004 00:19:02 -0000
- Subject: [Bug c++/13640] Failing to reject class template partial specialization which can never be selected
- References: <20040110200828.13640.giovannibajo@libero.it>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From gdr at integrable-solutions dot net 2004-01-11 00:18 -------
Subject: Re: [3.3/3.4 regression] Failing to reject class template partial specialization which can never be selected
"giovannibajo at libero dot it" <gcc-bugzilla@gcc.gnu.org> writes:
| Unless you show me that such a warning could actually be generated in cases
| where it's an annoyance. I thought of it but nothing came to my mind.
Well, I guess if you look at some boost-like codes, you might find
some occurances. But, I have no problem having it open -- if that
makes you happy. However I disgaree with the classification that it
is accept-invalid. And if you're going to make that a warning, please
put it off by default, because that is going to waste cycles and increase
compile-time -- because, you'll need to do partial template ordering.
-- Gaby
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13640