Re:C++26: Trivial infinite loops are no longer undefined beh...
by vlovich123 on Saturday September 19, 2026 @01:28PM
(#49768463)
A halt instruction is probably the appropriate representation for an infinite loop - the process gets stuck same as the infinite loop without proceeding. Abort is the instruction you want unreachable() to compile down into. It wasn’t an either or but both depending on the specific behavior you want.
[ Parent
| on HN ]
There are no comments on this comment yet.