C++ Logo

std-proposals

Advanced search

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

From: Ville Voutilainen <ville.voutilainen_at_[hidden]>
Date: Mon, 6 Jan 2025 18:08:39 +0200
On Mon, 6 Jan 2025 at 11:57, Richard Hodges via Std-Proposals
<std-proposals_at_[hidden]> wrote:
> There is absolutely no reason why goto cannot be compiled at compile time. If while(1) { if (condition() break; } can work at compile time, so can goto.

All implementation vendors disagree with that claim.

Received on 2025-01-06 16:08:56