Created on 2021-11-06.00:00:00 last changed 38 months ago
The editorial change referred to in the resolution of issue 2495 updated the terminology used to describe the return statement to allow for the fact that the operand could be a braced-init-list instead of an expression. A similar problem exists describing the result of a function call in 7.6.1.3 [expr.call] paragraph 9:
The result of a function call is the result of the possibly-converted operand of the return statement (8.7.4 [stmt.return]) that transferred control out of the called function
It's incorrect to refer to “converting” the operand when it is a braced-init-list.
History | |||
---|---|---|---|
Date | User | Action | Args |
2021-11-06 00:00:00 | admin | create |