On 23.05.2024 21:13, James Kuyper wrote:
On 5/23/24 02:23, Paavo Helde wrote:
...
There are zillions of ways to write non-conforming code, for
example an endless loop is not conforming in C++.
Citation, please? How does it fail to conform?
It may well be I messed up something. I had a vague memory that g++
could legally optimize away the code only because it contained UB,
but now I'm not so sure any more.
Permission is given to conclude that iteration statements
terminate. I don't think the permission extends to equivalent
constructs created using goto.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 546 |
Nodes: | 16 (2 / 14) |
Uptime: | 57:09:46 |
Calls: | 10,397 |
Calls today: | 5 |
Files: | 14,067 |
Messages: | 6,417,448 |
Posted today: | 1 |