Created on 2013-04-15.00:00:00 last changed 48 months ago
Rationale (February, 2019):
This concern is already covered by 6.7.7 [class.temporary] paragraph 6:
The temporary object to which the reference is bound or the temporary object that is the complete object of a subobject to which the reference is bound persists for the lifetime of the reference if...
Proposed resolution (February, 2014): [SUPERSEDED]
This issue is resolved by the resolution of issue 1299.
The resolution of issues 616 and 1213, making the result of a member access or subscript expression applied to a prvalue an xvalue, means that binding a reference to such a subobject of a temporary does not extend the temporary's lifetime. 6.7.7 [class.temporary] should be revised to ensure that it does.
History | |||
---|---|---|---|
Date | User | Action | Args |
2020-12-15 00:00:00 | admin | set | messages: + msg6293 |
2020-12-15 00:00:00 | admin | set | status: drafting -> nad |
2014-11-24 00:00:00 | admin | set | status: ready -> drafting |
2014-03-03 00:00:00 | admin | set | messages: + msg4838 |
2014-03-03 00:00:00 | admin | set | status: drafting -> ready |
2013-04-15 00:00:00 | admin | create |