This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/16070] print something useful instead of <unresolved overloaded function type>
- 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: Mon, 23 Apr 2018 12:31:55 +0000
- Subject: [Bug c++/16070] print something useful instead of <unresolved overloaded function type>
- Auto-submitted: auto-generated
- References: <bug-16070-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=16070
--- Comment #9 from Jonathan Wakely <redi at gcc dot gnu.org> ---
I suppose we could potentially have a special case for:
16070.cc:9:13: note: couldn't deduce template parameter 'T'
It could say:
16070.cc:9:13: note: couldn't deduce template parameter 'T' from an
overloaded function, because all overloads are equally good.