Chained Control Flow Statements: break [, break]... [,continue] #8434
-
|
The concept is to allow multiple The The formal definition is (see subj): This means that within a block of code, multiple Typically, alternatives to this approach involve managing multiple flags, akin to a state machine spread across local variables, combined with many Additionally, since each statement ( |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 7 replies
-
|
Elegant! I want it in c++ too! |
Beta Was this translation helpful? Give feedback.
-
|
See: |
Beta Was this translation helpful? Give feedback.
-
|
Proposal started here: https://github.com/dotnet/csharplang/blob/main/proposals/labeled-break-continue.md Closing this out to move discussion there. |
Beta Was this translation helpful? Give feedback.
Proposal started here: https://github.com/dotnet/csharplang/blob/main/proposals/labeled-break-continue.md
Championed Issue here: #9875
Discussion here: #9876
Closing this out to move discussion there.