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
Otherwise, if the parameter is a reference, see [over.ics.ref].
However, [over.ics.ref] does not cover the case where the initializer is not an expression. Even the subclause [dcl.ref] is based on the initializer expression.
So, the cross-referenced subclause says nothing about the case where the initializer is an initializer list. The change to [over.ics.list] p9 might be
Otherwise, if the parameter is a reference, the conversion sequence is the one required to convert the initializer list to the referenced type.
This means the other rules other than [over.ics.list] p9 can define the conversion sequence for this case, which conforms to what the note after [over.ics.list] wants to say
The rules in this subclause will apply for initializing the underlying temporary for the reference.
The text was updated successfully, but these errors were encountered:
[over.ics.list] p9 says
However, [over.ics.ref] does not cover the case where the initializer is not an expression. Even the subclause [dcl.ref] is based on the initializer expression.
So, the cross-referenced subclause says nothing about the case where the initializer is an initializer list. The change to [over.ics.list] p9 might be
This means the other rules other than [over.ics.list] p9 can define the conversion sequence for this case, which conforms to what the note after [over.ics.list] wants to say
The text was updated successfully, but these errors were encountered: