Title
Constant destruction of reference members
Status
open
Section
7.7 [expr.const]
Submitter
Richard Smith

Created on 2023-02-13.00:00:00 last changed 21 months ago

Messages

Date: 2023-02-13.00:00:00

Issue 2529 says that a constexpr reference bound to a lifetime-extended temporary is required to have constant destruction. However, that rule overlooks constexpr objects with a reference member bound to a lifetime-extended temporary, recursively, and the case for std::initializer_list lifetime extension.

History
Date User Action Args
2023-02-13 00:00:00admincreate