Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

P2392 Pattern matching using "is" and "as" #1064

Open
wg21bot opened this issue Jun 26, 2021 · 4 comments
Open

P2392 Pattern matching using "is" and "as" #1064

wg21bot opened this issue Jun 26, 2021 · 4 comments
Labels
EWG Evolution needs-revision Paper needs changes before it can proceed

Comments

@wg21bot
Copy link
Collaborator

wg21bot commented Jun 26, 2021

P2392R0 Pattern matching using “is” and “as” (Herb Sutter)

@wg21bot wg21bot added the EWG Evolution label Jun 26, 2021
@wg21bot wg21bot added this to the 2021-telecon milestone Jun 26, 2021
@jensmaurer jensmaurer changed the title P2392 Pattern matching using “is” and “as” P2392 Pattern matching using "is" and "as" Jun 26, 2021
@jfbastien
Copy link
Collaborator

This paper was seen on the 2021-07-07 EWG telecon.

POLL: Should we spend more time on P2392's inspect using is and as, knowing that time is limited and we already have put in a lot of effort towards another patmat proposal?

SF F N A SA
7 13 4 1 2

Result: consensus.

POLL: Should we spend more time on patmat expressions outside of inspect (as proposed in P2392 or otherwise), knowing that time is limited and we already have put in a lot of effort towards another patmat proposal?

SF F N A SA
11 12 4 2 0

Result: consensus.

@jfbastien jfbastien added the needs-revision Paper needs changes before it can proceed label Jul 12, 2021
@wg21bot
Copy link
Collaborator Author

wg21bot commented Jul 30, 2021

P2392R1 Pattern matching using "is" and "as" (Herb Sutter)

@wg21bot wg21bot removed the needs-revision Paper needs changes before it can proceed label Jul 30, 2021
@jensmaurer jensmaurer modified the milestones: 2021-telecon, 2022-telecon Jan 1, 2022
@wg21bot
Copy link
Collaborator Author

wg21bot commented Oct 17, 2022

P2392R2 Pattern matching using is and as (Herb Sutter)

@erichkeane
Copy link
Collaborator

Reviewed in Kona along with #1353:

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

@jfbastien jfbastien added the needs-revision Paper needs changes before it can proceed label Jan 20, 2023
@jensmaurer jensmaurer removed this from the 2022-telecon milestone Jan 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
EWG Evolution needs-revision Paper needs changes before it can proceed
Projects
None yet
Development

No branches or pull requests

4 participants