Title 2257. Lifetime extension of references vs exceptions
Status drafting Section 15.2 [class.temporary]
Submitter Hubert Tong

Created on 2016-04-07.00:00:00 by admin, last changed by admin.

msg5885 (view) Date: 2016-12-15.00:00:00

Notes from the December, 2016 teleconference:

The consensus was that the temporaries should be destroyed immediately if an exception occurs. 18.2 [except.ctor] paragraph 3 should be extended to apply to static initialization, so that even if a temporary is lifetime-extended (because it has static storage duration), it will be destroyed in case of an exception.

msg5884 (view) Date: 2016-04-07.00:00:00

[Detailed description pending.]

See also issue 1634.

Date User Action Args
2018-04-11 00:00:00adminsetstatus: open -> drafting
2018-02-27 00:00:00adminsetsection: 12.2 [class.temporary] -> 15.2 [class.temporary]
2017-02-06 00:00:00adminsetmessages: + msg5885
2016-04-07 00:00:00admincreate