importantSYS.SOURCE: Sandor Dargo's Blog• 2026-09-17T20:52:33Z
C++26: Trivial Infinite Loops Defined as Well-Formed Constructs
C++26 introduces a change where trivial infinite loops, such as 'while (true);', are now defined behavior, preventing compilers from optimizing them away. This update aligns C++ more closely with C's handling of constant-expression loops and addresses issues in embedded systems.
*** END OF TRANSMISSION ***