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
The copy-initialization of the result of the call is sequenced before the destruction of temporaries at the end of the full-expression established by the operand of the return statement, which, in turn, is sequenced before the destruction of local variables ([stmt.jump]) of the block enclosing the return statement.
Presumably, the result of the call in this paragraph refers to "glvalue result or prvalue result object".
However, in section [expr.call]
The result of a function call is the result of the possibly-converted operand of the return statement ([stmt.return]) that transferred control out of the called function (if any)
we give the wording "result of a call" an obviously different meaning.
The text was updated successfully, but these errors were encountered:
[stmt.return#5]
Presumably, the result of the call in this paragraph refers to "glvalue result or prvalue result object".
However, in section [expr.call]
we give the wording "result of a call" an obviously different meaning.
The text was updated successfully, but these errors were encountered: