Infinite loops are UB in C++
hails.org
hails.org
I used to be obsessed with C++, started back in 2002, but after many attempts to learn it, let alone to master it, I have decided to direct my attention elsewhere as it's not worth it anymore :(
When they fix it and trim it down to a slimmer version, they can let me know.
In the old days, C(++) had a pretty clean correspondence to assembly, and you could picture the generated assembly in your head as you went, while(1); would map pretty easily to
loop: jmp loop