C++ Logo

std-discussion

Advanced search

Re: Is forward progress guarantee still useful?

From: Thiago Macieira <thiago_at_[hidden]>
Date: Wed, 17 Sep 2025 17:16:06 -0700
On Tuesday, 16 September 2025 23:01:39 Pacific Daylight Time Yongwei Wu wrote:
> What is the guarantee hindering that removing would enable making better? If
> there isn't at least one, then there's nothing to discuss.
>
> Reducing UB per se is a good thing to me, if the UB does not really help
> compilers.

That is not a goal per se. What benefit do you expect to happen if this UB were
removed? What code currently invalid should become valid and why would that be
useful?

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
  Principal Engineer - Intel Platform & System Engineering

Received on 2025-09-18 00:16:23