Repository navigation
P2688 R6 Pattern Matching with match and case #1353
Description
Activity
Reviewed in Kona along with #1064 :
Regardless of pattern matching, we should encourage pursuing
isquery/ascast 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-roomWho has tried the pattern matching implementation version that Herb/Sean did in CPPFront/Circle?
3 of 19-remote + 35-in-room- addedneeds-revisionPaper needs changes before it can proceedPaper needs changes before it can proceed
on Jan 20, 2023 P2688R1 Pattern Matching:
matchExpression (Michael Park)- removedneeds-revisionPaper needs changes before it can proceedPaper needs changes before it can proceed
on Feb 16, 2024 - changed the title
[-]P2688 Pattern Matching Discussion for Kona 2022[/-][+]P2688 R1 Pattern Matching: `match` Expression[/+]on Feb 16, 2024 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 - addedneeds-revisionPaper needs changes before it can proceedPaper needs changes before it can proceed
on Mar 21, 2024 P2688R2 Pattern Matching:
matchExpression (Michael Park)Reacted by Jose Seravalli and Savenkov Igor- removedneeds-revisionPaper needs changes before it can proceedPaper needs changes before it can proceed
on Sep 21, 2024 - changed the title
[-]P2688 R1 Pattern Matching: `match` Expression[/-][+]P2688 R2 Pattern Matching: `match` Expression[/+]on Sep 21, 2024 11 remaining items
- changed the title
[-]P2688 R3 Pattern Matching: `match` Expression[/-][+]P2688 R4 Pattern Matching: `match` Expression[/+]on Dec 18, 2024 P2688R5 Pattern Matching:
matchExpression (Michael Park)- changed the title
[-]P2688 R4 Pattern Matching: `match` Expression[/-][+]P2688 R5 Pattern Matching: `match` Expression[/+]on Jan 14, 2025 Poll: P2688r5 Pattern Matching: match Expression: forward to CWG for inclusion in C++26.
SF F N A SA 20 11 6 13 5 Not consensus.
- addedneeds-revisionPaper needs changes before it can proceedPaper needs changes before it can proceed
on Feb 14, 2025 - removedneeds-revisionPaper needs changes before it can proceedPaper needs changes before it can proceed
on Mar 19, 2025 - addedneeds-revisionPaper needs changes before it can proceedPaper needs changes before it can proceedand removedC++26Targeted at C++26Targeted at C++26
on May 26, 2025 P2688R6 Pattern Matching with
matchandcase(Michael Park)- removedneeds-revisionPaper needs changes before it can proceedPaper needs changes before it can proceed
on Sep 23, 2026 - changed the title
[-]P2688 R5 Pattern Matching: `match` Expression[/-][+]P2688 R6 Pattern Matching with `match` and `case`[/+]on Sep 23, 2026
P2688R0 Pattern Matching Discussion for Kona 2022 (Michael Park)