File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed
Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change 87808780\end {itemize }
87818781
87828782\pnum
8783- Using the resulting types
8784- \tcode {P}
8785- and
8786- \tcode {A},
8783+ If \tcode {A} was transformed from a function parameter pack and
8784+ \tcode {P} is not a parameter pack,
8785+ type deduction fails.
8786+ Otherwise, using the resulting types \tcode {P} and \tcode {A},
87878787the deduction is then done as described in~\ref {temp.deduct.type }.
87888788If \tcode {P} is a function parameter pack, the type \tcode {A} of each remaining
87898789parameter type of the argument template is compared with the type \tcode {P} of
87908790the \grammarterm {declarator-id} of the function parameter pack. Each comparison
87918791deduces template arguments for subsequent positions in the template parameter
87928792packs expanded by the function parameter pack.
8793- Similarly, if \tcode {A} was transformed from a function parameter pack,
8794- it is compared with each remaining parameter type of the parameter template.
87958793If deduction succeeds for a given type,
87968794the type from the argument template is considered to be at least as specialized
87978795as the type from the parameter template.
You can’t perform that action at this time.
0 commit comments