C++ Logo


Advanced search

Re: [std-proposals] goto is not harmful (was: "once" keyword)

From: Christof Meerwald <cmeerw_at_[hidden]>
Date: Wed, 24 May 2023 15:34:45 +0200
On Wed, May 24, 2023 at 04:31:37PM +0300, Pavel Vazharov via Std-Proposals wrote:
> The restriction was removed by https://wg21.link/p2242.

Well, you still can't have a "goto" statement in a constant
evaluation: https://eel.is/c++draft/expr.const#5.30

Also see https://gcc.godbolt.org/z/1roEohq4e


https://cmeerw.org                             sip:cmeerw at cmeerw.org
mailto:cmeerw at cmeerw.org                   xmpp:cmeerw at cmeerw.org

Received on 2023-05-24 13:34:48