cplusplus / papers

ISO/IEC JTC1 SC22 WG21 paper scheduling and management
612 stars 19 forks source link

P2806 R2 do expressions #1462

Open erichkeane opened 1 year ago

erichkeane commented 1 year ago

D2806R0 do statement-expressions (Barry Revzin)

erichkeane commented 1 year ago

This was discussed in EWG in the February 10th, 2023 evening session in Issaquah. The following poll was taken.

EWG encourages more work in the direction of do-statement-expressions as presented in D2806R0.

SF F N A SA
20 14 6 3 0

Result: Consensus

wg21bot commented 1 year ago

P2806R0 do expressions (Barry Revzin, Bruno Cardoso Lopez, Zach Laine, Michael Park)

wg21bot commented 1 year ago

P2806R1 do expressions (Barry Revzin, Bruno Cardoso Lopez, Zach Laine, Michael Park)

erichkeane commented 1 year ago

P2806R1 was discussed in EWG in the April, 27th, 2023 Telecon. The following polls were taken:

EWG encourages more work in the direction of do-expressions as presented in P2806R1. SF F N A SA
12 6 2 2 0

Result: Consensus

EWG prefers the "result" of the do-expression be 'last statement', ala GCC statement-expressions, prohibiting early-return from a do-expression. SF F N A SA
0 0 4 8 9

Result: Consensus Against

jfbastien commented 1 year ago

Barry tells me this needs an update.

wg21bot commented 6 months ago

P2806R2 do expressions (Barry Revzin, Bruno Cardoso Lopez, Zach Laine, Michael Park)

jfbastien commented 3 months ago

Seen by EWG in Tokyo on Friday

P2806R2 do expressions: EWG encourages author to explore design with anti-captures.

SF F N A SA 2 4 3 9 3

Not consensus.