Hacker News new | ask | show | jobs
by slaymaker1907 2495 days ago
An infinite loop with no side effects is undefined behavior.
1 comments

I didn't say no side effects. But even an infinite loop with no side effects is well-defined if the controlling expression is a constant expression; see the link in my previous post.