You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is not clear whether bullet 4.1 of [temp.deduct.call] allows qualification conversions.
Suggested resolution: Edit [temp.deduct.call]/4.1 as follows:
If the original P is a reference type, the deduced A (i.e., the type referred to by the reference) can be more cv-qualifieda type other than the transformed A that is reference-compatible ([dcl.init.ref]) with the transformed A.
(We might not need to say "transformed", actually. As far as I can tell, when the original P is a reference type, we transform A only in the case where P is a forwarding reference, and in that case no difference in cv-qualification is possible.)
The text was updated successfully, but these errors were encountered:
Full name of submitter: Brian Bi
Issue description: There is implementation divergence in the treatment of the following deduction:
It is not clear whether bullet 4.1 of [temp.deduct.call] allows qualification conversions.
Suggested resolution: Edit [temp.deduct.call]/4.1 as follows:
(We might not need to say "transformed", actually. As far as I can tell, when the original
P
is a reference type, we transformA
only in the case whereP
is a forwarding reference, and in that case no difference in cv-qualification is possible.)The text was updated successfully, but these errors were encountered: