mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-10 14:37:05 +08:00
improve comment
From-SVN: r39806
This commit is contained in:
parent
78adc5a03d
commit
d9579a59fd
@ -5212,7 +5212,12 @@ joust (cand1, cand2, warn)
|
||||
winner = more_specialized
|
||||
(TI_TEMPLATE (cand1->template), TI_TEMPLATE (cand2->template),
|
||||
DEDUCE_ORDER,
|
||||
/* Never do unification on the 'this' parameter. */
|
||||
/* Tell the deduction code how many real function arguments we saw,
|
||||
not counting the implicit 'this' argument.
|
||||
|
||||
[temp.func.order]: The presence of unused ellipsis and default
|
||||
arguments has no effect on the partial ordering of function
|
||||
templates. */
|
||||
TREE_VEC_LENGTH (cand1->convs)
|
||||
- DECL_NONSTATIC_MEMBER_FUNCTION_P (cand1->fn));
|
||||
if (winner)
|
||||
|
Loading…
Reference in New Issue
Block a user