Created on 2024-11-02.00:00:00 last changed 2 weeks ago
Suggested resolution:
Change in 13.7.7.3 [temp.func.order] paragraph 6 and add bullets as follows:
If deduction against the other template succeeds for both transformed templates, constraints can be considered as follows:
- If
neither template is more specialized than the other.
- their template-parameter-lists (possibly including template-parameters invented for an abbreviated function template (9.3.4.6 [dcl.fct])) have different numbers of template-parameters or
- function parameter lists differ in length
- their parameter-type-lists have different numbers of parameters or
- either, but not both, of their parameter-type-lists has an ellipsis,
- Otherwise: ...
(From submission #632.)
The partial ordering rules in 13.7.7.3 [temp.func.order] paragraph 6 do not consider the possible presence of an ellipsis in the function parameter list:
History | |||
---|---|---|---|
Date | User | Action | Args |
2024-11-03 10:10:07 | admin | set | messages: + msg7870 |
2024-11-02 00:00:00 | admin | create |