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

P1371 Pattern Matching #166

Open
jensmaurer opened this issue Jan 26, 2019 · 8 comments
Open

P1371 Pattern Matching #166

jensmaurer opened this issue Jan 26, 2019 · 8 comments

Comments

@jensmaurer
Copy link
Member

@jensmaurer jensmaurer commented Jan 26, 2019

P1371R0 Pattern Matching (Sergei Murzin, Michael Park, David Sankel, Dan Sarginson)

@jensmaurer jensmaurer added this to the 2019-02 milestone Jan 26, 2019
@jensmaurer jensmaurer added the EWG label Jan 26, 2019
@villevoutilainen villevoutilainen added this to EWGSaturday in EWGKonaFeb2019 Feb 11, 2019
@jfbastien

This comment has been minimized.

Copy link
Collaborator

@jfbastien jfbastien commented Feb 12, 2019

P1260R0 Pattern Matching #363 and P1308R0 Pattern Matching #364 were seen by EWGI in SAN.
Strong support, authors got feedback to address.

@jensmaurer

This comment has been minimized.

Copy link
Member Author

@jensmaurer jensmaurer commented Mar 20, 2019

@jensmaurer jensmaurer removed this from the 2019-02 milestone Mar 20, 2019
@wg21bot

This comment has been minimized.

Copy link
Collaborator

@wg21bot wg21bot commented Jun 23, 2019

P1371R1 Pattern Matching (Sergei Murzin, Michael Park, David Sankel, Dan Sarginson)

@wg21bot wg21bot added this to the 2019-07 milestone Jun 23, 2019
This was referenced Jul 8, 2019
@jensmaurer

This comment has been minimized.

Copy link
Member Author

@jensmaurer jensmaurer commented Aug 23, 2019

@jensmaurer jensmaurer removed this from the 2019-07 milestone Aug 23, 2019
@jfbastien jfbastien added this to Would be nice to talk about in EWGBelfast2019 Oct 15, 2019
@jfbastien jfbastien moved this from Would be nice to talk about to Wednesday in EWGBelfast2019 Nov 5, 2019
@jfbastien

This comment has been minimized.

Copy link
Collaborator

@jfbastien jfbastien commented Nov 7, 2019

EWG saw this: http://wiki.edg.com/bin/view/Wg21belfast/P1371-EWG

EWG is interested in hearing more about pattern matching in the general direction presented

SF F N A SA
20 9 1 0 0
@wg21bot

This comment has been minimized.

Copy link
Collaborator

@wg21bot wg21bot commented Jan 18, 2020

P1371R2 Pattern Matching (Sergei Murzin, Michael Park, David Sankel, Dan Sarginson)

@wg21bot wg21bot added this to the 2020-02 milestone Jan 18, 2020
@jfbastien jfbastien added this to Unscheduled in EWG Prague Jan 22, 2020
@jfbastien jfbastien moved this from Unscheduled to Tuesday in EWG Prague Jan 23, 2020
@jfbastien

This comment has been minimized.

Copy link
Collaborator

@jfbastien jfbastien commented Feb 11, 2020

EWG Prague on Tuesday afternoon:

Pattern matching should require a case that always matches.

SF F N A SA
8 10 12 5 4

Assuming we don’t mandate a case that always matches, if no case matched, we get UB.

SF F N A SA
8 14 7 6 9

Drop the expression form.

SF F N A SA
6 7 8 7 12

Drop the statement form.

SF F N A SA
0 1 5 12 23

Pattern matching shouldn’t have arbitrary lookahead.

SF F N A SA
31 10 3 1 0
@jfbastien

This comment has been minimized.

Copy link
Collaborator

@jfbastien jfbastien commented Feb 14, 2020

EWG Prague Friday afternoon, discuss design tuning: an update from earlier this week, Pattern_Matching_Updates.pdf

Non-void inspect expressions should have at least one pattern which, on its own, can match every possible value.

SF F N A SA
0 0 2 11 13
@jensmaurer jensmaurer removed this from the 2020-02 milestone Feb 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants
You can’t perform that action at this time.