C++26: Trivial infinite loops are no longer undefined behaviour
Thread
Unofficial Hacker News client; not affiliated with Y Combinator.
C++26: Trivial infinite loops are no longer undefined behaviour
Unofficial Hacker News client; not affiliated with Y Combinator.
Aardwolf · · focus · HN ↗
Why is that rule needed? I could make my for loop try to solve the halting problem and it'll never finish either, circumventing that rule
layer8 · · focus · HN ↗
mitxela · · focus · HN ↗
cryptonector · · focus · HN ↗