C++ Logo

std-discussion

Advanced search

Re: Is forward progress guarantee still useful?

From: Thiago Macieira <thiago_at_[hidden]>
Date: Thu, 18 Sep 2025 13:25:44 -0700
On Wednesday, 17 September 2025 23:28:45 Pacific Daylight Time Yongwei Wu via
Std-Discussion wrote:
> First, programmers in general do not want to *rely on* compiler
> optimizations to get rid of unused code.

Yes, they do. ALL the time, especially in template code but anything that is
not nailed down and may have some generality too. For example, anything that
may depend on a configuration-time feature check. Given we have the __cpp
macros describing the availability of features, this applies to the C++
Standard too.

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

Received on 2025-09-18 20:25:55