Skip to content

P2806 R3 do expressions #1462

@erichkeane

Description

@erichkeane
Collaborator

D2806R0 do statement-expressions (Barry Revzin)

Activity

erichkeane

erichkeane commented on Feb 11, 2023

@erichkeane
CollaboratorAuthor

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

wg21bot commented on Feb 20, 2023

@wg21bot
Collaborator

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

added this to the 2023-telecon milestone on Feb 20, 2023
wg21bot

wg21bot commented on Apr 11, 2023

@wg21bot
Collaborator

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

erichkeane

erichkeane commented on Apr 27, 2023

@erichkeane
CollaboratorAuthor

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 commented on Jun 12, 2023

@jfbastien
Collaborator

Barry tells me this needs an update.

wg21bot

wg21bot commented on Dec 19, 2023

@wg21bot
Collaborator

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

3 remaining items

changed the title [-]P2806 do statement-expressions[/-] [+]P2806 R2 do expressions[/+] on Dec 19, 2023
jfbastien

jfbastien commented on Mar 22, 2024

@jfbastien
Collaborator

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.

self-assigned this
on May 19, 2024
removed this from the 2024-telecon milestone on Dec 18, 2024
wg21bot

wg21bot commented on Jan 14, 2025

@wg21bot
Collaborator

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

added this to the 2025-telecon milestone on Jan 14, 2025
changed the title [-]P2806 R2 do expressions[/-] [+]P2806 R3 do expressions[/+] on Jan 14, 2025
erichkeane

erichkeane commented on Jun 16, 2025

@erichkeane
CollaboratorAuthor

Author says this needs revision.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

EWGEvolutionneeds-revisionPaper needs changes before it can proceed

Type

No type

Projects

No projects

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @jfbastien@erichkeane@inbal2l@brevzin@jensmaurer

      Issue actions

        P2806 R3 do expressions · Issue #1462 · cplusplus/papers