cplusplus / papers

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

P2688 R3 Pattern Matching: `match` Expression #1353

Open wg21bot opened 2 years ago

wg21bot commented 2 years ago

P2688R0 Pattern Matching Discussion for Kona 2022 (Michael Park)

erichkeane commented 2 years ago

Reviewed in Kona along with #1064 :

Regardless of pattern matching, we should encourage pursuing is query/as cast unification in the language.

SF F N A SA
7 10 11 4 1

Result: Consensus for encouragement

EWG Prefers composition over chaining in pattern matching syntax.

SF F N A SA
13 9 2 1 0

Result: Consensus

Who has tried the pattern matching version Bruno did on Godbolt (presented by Michael)? 6 of 19-remote + 35-in-room

Who has tried the pattern matching implementation version that Herb/Sean did in CPPFront/Circle? 3 of 19-remote + 35-in-room

wg21bot commented 9 months ago

P2688R1 Pattern Matching: match Expression (Michael Park)

jfbastien commented 8 months ago

The paper was seen in Tokyo.

Poll: P2688r1 pattern matching: template instantiation should not be ill-formed at instantiation if the equivalent non-template would be ill-formed

SF F N A SA
0 3 17 10 2

Not consensus.

Poll: P2688r1 pattern matching: EWG encourages more work on pattern matching, knowing our time is limited.

SF F N A SA
34 9 0 0 0
wg21bot commented 2 months ago

P2688R2 Pattern Matching: match Expression (Michael Park)

hanickadot commented 1 month ago

EWG had a teleconference on 10th October 2024 about P2688 with purpose of gathering feedback and we took only direction and encouragement pools:

P2688R2: We want to use parenthesis for tuple-like matching.

SF F N A SA
7 7 2 1 3

SA: Implementation concerns

P2688R2: EWG likes direction of the paper.

SF F N A SA
13 3 1 0 1
wg21bot commented 1 month ago

P2688R3 Pattern Matching: match Expression (Michael Park)

jfbastien commented 1 day ago

Seen in EWG on Thursday:

Poll: P2392 — Pattern matching using is and as: we encourage pursuing is / as cast unification in the language, including in pattern matching.

SF F N A SA
10 9 6 10 12

Result: no consensus

Poll: P2688 — Pattern Matching: match Expression, we encourage more work on the language-only paper towards C++26 in the next meeting (note: voting against this poll does not exclude getting pattern matching in C++29)

SF F N A SA
17 16 6 1 9

Result: consensus in favor

Poll: P2392 — Pattern matching using is and as, we encourage more work on the language-only paper (without pattern matching) towards C++26 in the next meeting

SF F N A SA
12 9 8 8 12

Result: no consensus