C++ Logo


Advanced search

Re: [std-proposals] Fwd: Re: Proposal regarding labeld breaking and continuation

From: Sebastian Wittmeier <wittmeier_at_[hidden]>
Date: Fri, 17 Feb 2023 22:18:33 +0100
As far as I see, 'break label' and 'continue label' from N3879 were rejected in 2014/2015 with 41% in favor vs. 44% against.   I would not call it very clearly.       Two related papers:     "For Loop Exit Strategies" = The else and completion branch for for, while and do from P0082R2 (prev. N3587) was rejected in 2013-2017 https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2017/p0082r2.pdf   ("EWG didn’t love the new keywords [...] and was generally lukewarm towards the proposal in terms of motivation, so it’s not clear if this is going anywhere.")       'break statement' from P2635R0 is currently under active discussion in 2022/2023. https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2022/p2635r0.html   The latter makes it possible to write 'break continue' continuing one level further up, probably 'break break continue' and so on would also work?         -----Ursprüngliche Nachricht----- Von:Hypatia (of) Sva via Std-Proposals <std-proposals_at_[hidden]> Gesendet:Fr 17.02.2023 19:39 Betreff:Re: [std-proposals] Fwd: Re: Proposal regarding labeld breaking and continuation An:std-proposals_at_[hidden]; CC:hypatia.sva_at_[hidden]; Hello, after looking through this it seems this is very clearly rejected for c++ itself, good to know.  

Received on 2023-02-17 21:18:36