cplusplus / papers

ISO/IEC JTC1 SC22 WG21 paper scheduling and management
628 stars 18 forks source link

P2686 R4 constexpr structured bindings and references to constexpr variables #1351

Open wg21bot opened 1 year ago

wg21bot commented 1 year ago

P2686R0 Updated wording and implementation experience for P1481 (constexpr structured bindings) (Corentin Jabot)

jfbastien commented 1 year ago

Previous paper: https://github.com/cplusplus/papers/issues/236

erichkeane commented 1 year ago

Forward P2686R0 to CWG for inclusion in C++26.

SF F N A SA
1 13 3 0 0

Result: Consensus

Require explanation of limitation for template parameters, and limitations around bitfields in the structured bindings

jensmaurer commented 1 year ago

CWG 2023-02-07: Reviewed; needs updates.

jensmaurer commented 1 year ago

CWG reflector discussion starting 2023-04-09: There are several (more or less general) avenues to deliver the desired feature. A revision of the paper should contain a discussion of the various options (with examples), which CWG will briefly review and then forward to EWG to make a choice.

wg21bot commented 1 year ago

P2686R1 constexpr structured bindings and references to constexpr variables (Corentin Jabot, Brian Bi)

jensmaurer commented 1 year ago

Sent to EWG for scoping of the feature.

erichkeane commented 1 year ago

EWG Discussed P2686R1 on Tuesday Afternoon in Varna, and the following poll was taken:

EWG supports symbolic addressing (Option 3) from P2686R1 without thread_local variables as presented, however would like this to come back after receiving implementer feedback regarding implementability. SF F N A SA
3 9 0 0 0

Result: Consensus

We expect this to come back to EWG 'soon' with summary of the implementer's feedback.

erichkeane commented 1 year ago

EWG Discussed P2686R1 on Wednesday morning in Varna (with the addition of implementer feedback), and the following poll was taken:

EWG Approves of the direction of Symoblic Addressing (Option 3) from P2686R1 without thread_local variables as presented, and give this as Guidance to CWG.

SF F N A SA
2 18 9 0 0

Result: Consensus

This paper is expected back in EWG with implementation experience and core wording for final approval.

wg21bot commented 11 months ago

P2686R2 constexpr structured bindings and references to constexpr variables (Corentin Jabot, Brian Bi)

jensmaurer commented 10 months ago

CWG 2023-11-06: Reviewed; looks good so far. On to EWG to confirm the design.

jfbastien commented 10 months ago

EWG reviewed in Kona, needs more work.

wg21bot commented 6 months ago

P2686R3 constexpr structured bindings and references to constexpr variables (Corentin Jabot, Brian Bi)

hanickadot commented 5 months ago

EWG discussed P2686R3 on Tokyo meeting on Thursday PM.

P2686R3 constexpr structured bindings and references to local variables: Forward to CWG for C++26 with recommendation to wait for implementation experience.

SF F N A SA
5 11 4 0 0

Consensus.

jensmaurer commented 2 months ago

CWG 2024-06-25 in St. Louis: Approved D2686R4.

Awaiting implementation experience, as requested by EWG.

wg21bot commented 1 month ago

P2686R4 constexpr structured bindings and references to constexpr variables (Corentin Jabot, Brian Bi)

jensmaurer commented 1 month ago

Awaiting implementation experience, as requested by EWG.