This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/78753] non-ambiguous overload resolution with function template partial ordering rules


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]