This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/78753] non-ambiguous overload resolution with function template partial ordering rules
- From: "ed at catmur dot co.uk" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 24 Jul 2017 20:03:11 +0000
- Subject: [Bug c++/78753] non-ambiguous overload resolution with function template partial ordering rules
- Auto-submitted: auto-generated
- References: <bug-78753-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78753
Ed Catmur <ed at catmur dot co.uk> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ed at catmur dot co.uk
--- Comment #1 from Ed Catmur <ed at catmur dot co.uk> ---
I believe this was fixed by CWG 1395
http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#1395
> 11 - If, after considering the above, function template F is at least as specialized as function template G and vice-versa, and if G has a trailing parameter pack for which F does not have a corresponding parameter, and if F does not have a trailing parameter pack, then F is more specialized than G.