Skip to content

P2688 R6 Pattern Matching with match and case #1353

Description

@wg21bot

P2688R0 Pattern Matching Discussion for Kona 2022 (Michael Park)

Activity

  1. added this to the 2022-telecon milestone on Oct 17, 2022
  2. erichkeane commented on Nov 10, 2022

    @erichkeane
    Collaborator

    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

  3. removed this from the 2022-telecon milestone on Jan 25, 2023
  4. wg21bot commented on Feb 16, 2024

    @wg21bot
    CollaboratorAuthor

    P2688R1 Pattern Matching: match Expression (Michael Park)

  5. added this to the 2024-telecon milestone on Feb 16, 2024
  6. changed the title [-]P2688 Pattern Matching Discussion for Kona 2022[/-] [+]P2688 R1 Pattern Matching: `match` Expression[/+] on Feb 16, 2024
  7. jfbastien commented on Mar 21, 2024

    @jfbastien
    Collaborator

    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
  8. wg21bot commented on Sep 21, 2024

    @wg21bot
    CollaboratorAuthor

    P2688R2 Pattern Matching: match Expression (Michael Park)

  9. changed the title [-]P2688 R1 Pattern Matching: `match` Expression[/-] [+]P2688 R2 Pattern Matching: `match` Expression[/+] on Sep 21, 2024
  10. 11 remaining items

  11. added this to the 2025-telecon milestone on Dec 18, 2024
  12. changed the title [-]P2688 R3 Pattern Matching: `match` Expression[/-] [+]P2688 R4 Pattern Matching: `match` Expression[/+] on Dec 18, 2024
  13. wg21bot commented on Jan 14, 2025

    @wg21bot
    CollaboratorAuthor

    P2688R5 Pattern Matching: match Expression (Michael Park)

  14. changed the title [-]P2688 R4 Pattern Matching: `match` Expression[/-] [+]P2688 R5 Pattern Matching: `match` Expression[/+] on Jan 14, 2025
  15. jfbastien commented on Feb 14, 2025

    @jfbastien
    Collaborator

    Seen in EWG on Friday:

    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.

  16. added
    needs-revisionPaper needs changes before it can proceed
    and removed
    C++26Targeted at C++26
    on May 26, 2025
  17. wg21bot commented on Sep 23, 2026

    @wg21bot
    CollaboratorAuthor

    P2688R6 Pattern Matching with match and case (Michael Park)

  18. changed the title [-]P2688 R5 Pattern Matching: `match` Expression[/-] [+]P2688 R6 Pattern Matching with `match` and `case`[/+] on Sep 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    B1 - focusBucket 1 as described by P0592: material that is mentioned in this plan.C++29Targeted at C++29EWGEvolutionISShip vehicle: ISsize - largepaper size estimate

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions