Title
constexpr for empty destructuring expansion statements
Status
ready
Section
8.7 [stmt.expand]
Submitter
Geng Cheng

Created on 2026-05-19.00:00:00 last changed 2 weeks ago

Messages

Date: 2026-11-19.20:46:27

Proposed resolution (no objections during CWG reflector review starting 2026-07-25; approved by CWG 2026-11-19):

Change in 8.7 [stmt.expand] bullet 5.3 as follows:

... The keyword constexpr is present in the declaration of range or the structured-binding-declaration of u0, u1, ..., uN-1, respectively, if and only if constexpr is one of the decl-specifiers of the decl-specifier-seq of the for-range-declaration.
Date: 2026-07-25.12:33:10

(From submission #908.)

After adopting issue 3048, it is unclear when the constexpr keyword in the expansion defining range should be present.

History
Date User Action Args
2026-11-19 20:46:27adminsetstatus: tentatively ready -> ready
2026-09-20 07:55:02adminsetstatus: open -> tentatively ready
2026-06-30 21:03:40adminsetmessages: + msg8627
2026-05-19 00:00:00admincreate