P1371 Pattern Matching #166
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
EWG Prague on Tuesday afternoon:
Pattern matching should require a case that always matches.
Assuming we don’t mandate a case that always matches, if no case matched, we get UB.
Drop the expression form.
Drop the statement form.
Pattern matching shouldn’t have arbitrary lookahead.
EWG discussed "inspect is always an expression" in a telecon today.
POLL: Allow break and continue leaving from inspect expressions.
Lots of other feedback was given to the authors, and everyone agreed to more exploration. We did not poll these.
Today in the EWG telecon, we discussed
Support goto jumping into a pattern.
Support goto jumping out of a pattern, when the goto jumps forward, not across a variable declaration or into a nested scope.
Support goto jumping out of a pattern, without additional constraints.
Support goto which remains strictly within its pattern.
Bjarne wrote a short paper to start our discussion, and will come back with a bigger paper which covers all the cases and feedback received.
EWG discussed Pattern matching identifier patterns syntax: let vs auto vs none on April 8th.
POLL: annotate id-pattern with
POLL: if we annotate id-patterns with
POLL: keep the current p1371r3 proposal with