C++ Logo

std-proposals

Advanced search

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

From: Tiago Freire <tmiguelf_at_[hidden]>
Date: Tue, 7 Jan 2025 15:54:29 +0000
> Labels' scope is limited to the enclosing function. Any developer editing a function is expected to at least look through the function body before making his modifications. I don't believe name clashing within the function body is a big problem that is difficult to avoid.

Well, it's a problem that doesn't need to exist to begin with.
In any case it would only depend on the complexity of the function.

Received on 2025-01-07 15:54:33