This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/17166] Improve diagnostic for empty overload set listing the rejected overloads
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 29 May 2005 16:02:04 -0000
- Subject: [Bug c++/17166] Improve diagnostic for empty overload set listing the rejected overloads
- References: <20040824124058.17166.guillaume.melquiond@ens-lyon.fr>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-05-29 16:02 -------
The testcase really boils down to:
template <typename T> int foo ();
int i = foo(1);
OR
template <typename T> struct f{};
template <typename T> int foo (f<T>);
int i = foo(1);
--
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed|2004-10-28 03:58:46 |2005-05-29 16:02:02
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17166