Title 2257. Lifetime extension of references vs exceptions
Status open Section 12.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. 15.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
2017-02-06 00:00:00adminsetmessages: + msg5885
2016-04-07 00:00:00admincreate