http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18610
--- Comment #8 from Jonathan Wakely 2011-09-21
14:48:34 UTC ---
(In reply to comment #7)
> (In reply to comment #6)
> > N.B. that's even better than clang, as it tells you *why* substitution
> > failed:
> > the specialization Q is incomplete
>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18610
Manuel López-Ibáñez changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18610
--- Comment #6 from Jonathan Wakely 2011-09-21
13:11:47 UTC ---
N.B. that's even better than clang, as it tells you *why* substitution failed:
the specialization Q is incomplete
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18610
--- Comment #5 from Jonathan Wakely 2011-09-21
13:09:55 UTC ---
But I think it can be considered fixed for 4.7 by Nathan's excellent work in
giving reasons why candidate functions are not viable:
t.cc: In function 'int f()':
t.cc:17:9: error: no
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18610
Manuel López-Ibáñez changed:
What|Removed |Added
CC||manu at gcc dot gnu.org
--- Comment
--
What|Removed |Added
Status|UNCONFIRMED |NEW
Ever Confirmed||1
Last reconfirmed|-00-00 00:00:00 |2004-12-
--- Additional Comments From gdr at integrable-solutions dot net
2004-11-22 15:42 ---
Subject: Re: bad error message
"bangerth at dealii dot org" <[EMAIL PROTECTED]> writes:
| I think the fact that we may print a message saying that the overload
| set is empty but that there are func
--- Additional Comments From bangerth at dealii dot org 2004-11-22 15:05
---
Substitution of the return type fails, so in your example there really
is an empty set of overloads. That's what the compiler tells you.
I think the fact that we may print a message saying that the overload
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-22
14:44 ---
With Comeau's C++ compiler I get:
"ComeauTest.c", line 19: error: no instance of function template "g" matches the
argument list
The argument types that you used are: (F)
g(a );