C++ Logo

std-proposals

Advanced search

Re: [std-proposals] Bringing break/continue with label to C++

From: Tiago Freire <tmiguelf_at_[hidden]>
Date: Fri, 20 Dec 2024 11:54:45 +0000
> > It's a unique feature that is being tried to push into C++. No other language does this!
> Wrong. Perl supports exiting loops with "last LABEL" and jumping to statements with "goto LABEL", and the label syntax is always "LABEL:
...".

Perl doesn't have a "break label" or "continue label"

If you have another language that does this, why are those not the ones in the paper?

Received on 2024-12-20 11:54:48