Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

P2806 R2 do expressions #1462

Open
erichkeane opened this issue Feb 11, 2023 · 7 comments
Open

P2806 R2 do expressions #1462

erichkeane opened this issue Feb 11, 2023 · 7 comments
Assignees
Labels
C++26 Targeted at C++26 EWG Evolution IS Ship vehicle: IS needs-revision Paper needs changes before it can proceed
Milestone

Comments

@erichkeane
Copy link
Collaborator

D2806R0 do statement-expressions (Barry Revzin)

@erichkeane erichkeane added the EWG Evolution label Feb 11, 2023
@erichkeane
Copy link
Collaborator Author

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

@erichkeane erichkeane added the needs-revision Paper needs changes before it can proceed label Feb 11, 2023
@wg21bot
Copy link
Collaborator

wg21bot commented Feb 20, 2023

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

@wg21bot wg21bot removed the needs-revision Paper needs changes before it can proceed label Feb 20, 2023
@wg21bot wg21bot added this to the 2023-telecon milestone Feb 20, 2023
@wg21bot
Copy link
Collaborator

wg21bot commented Apr 11, 2023

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

@erichkeane
Copy link
Collaborator Author

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 jfbastien added needs-revision Paper needs changes before it can proceed and removed ewg-thursday-am labels Jun 12, 2023
@jfbastien
Copy link
Collaborator

Barry tells me this needs an update.

@wg21bot
Copy link
Collaborator

wg21bot commented Dec 19, 2023

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

@wg21bot wg21bot removed the needs-revision Paper needs changes before it can proceed label Dec 19, 2023
@wg21bot wg21bot modified the milestones: 2023-telecon, 2024-telecon Dec 19, 2023
@wg21bot wg21bot changed the title P2806 do statement-expressions P2806 R2 do expressions Dec 19, 2023
@inbal2l inbal2l added IS Ship vehicle: IS C++26 Targeted at C++26 labels Dec 19, 2023
@jfbastien
Copy link
Collaborator

jfbastien commented Mar 22, 2024

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.

@jfbastien jfbastien added the needs-revision Paper needs changes before it can proceed label Mar 22, 2024
@brevzin brevzin self-assigned this May 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C++26 Targeted at C++26 EWG Evolution IS Ship vehicle: IS needs-revision Paper needs changes before it can proceed
Projects
None yet
Development

No branches or pull requests

5 participants