Commit 4c7d0dff by Mark Mitchell

update documentation

From-SVN: r19671
parent 08362e16
...@@ -5708,11 +5708,10 @@ type_unification (tparms, targs, parms, args, targs_in, ...@@ -5708,11 +5708,10 @@ type_unification (tparms, targs, parms, args, targs_in,
/* Adjust types before performing type deduction, as described in /* Adjust types before performing type deduction, as described in
[temp.deduct.call] and [temp.deduct.conv]. The rules in these two [temp.deduct.call] and [temp.deduct.conv]. The rules in these two
sections are symmetric. For calls, the value passed as PARM should sections are symmetric. PARM is the type of a function parameter
be a parameter to the template function, while ARG should be the or the return type of the conversion function. ARG is the type of
actual argument used in the call. For conversions, PARM should be the argument passed to the call, or the type of the value
the type required as the result of the conversion, while ARG should intialized with the result of the conversion function. */
be the return type of the template conversion function. */
void void
maybe_adjust_types_for_deduction (strict, parm, arg) maybe_adjust_types_for_deduction (strict, parm, arg)
...@@ -5727,8 +5726,9 @@ maybe_adjust_types_for_deduction (strict, parm, arg) ...@@ -5727,8 +5726,9 @@ maybe_adjust_types_for_deduction (strict, parm, arg)
case DEDUCE_CONV: case DEDUCE_CONV:
{ {
/* Swap PARM and ARG; the handling is precisely symmetric since /* Swap PARM and ARG throughout the remainder of this
PARM will initialize ARG rather than vice versa. */ function; the handling is precisely symmetric since PARM
will initialize ARG rather than vice versa. */
tree* temp = parm; tree* temp = parm;
parm = arg; parm = arg;
arg = temp; arg = temp;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment