cplusplus / papers

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

P2688 R2 Pattern Matching: `match` Expression #1353

Open wg21bot opened 1 year ago

wg21bot commented 1 year ago

P2688R0 Pattern Matching Discussion for Kona 2022 (Michael Park)

erichkeane commented 1 year 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 7 months ago

P2688R1 Pattern Matching: match Expression (Michael Park)

jfbastien commented 6 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 1 week ago

P2688R2 Pattern Matching: match Expression (Michael Park)