News for hackers. Stuff that matters.
Re:The C++ Iceberg by dwattttt on Wednesday May 08, 2024 @09:27AM (#40297882)
> Possible undefined behavior ranges from ignoring the situation completely with unpredictable results, to behaving during translation or program execution ...

As much as I'm not a fan of the status quo, the argument that changing "Possible" back to "Permissible" isn't particularly solid; the rest of the paragraph makes it clear it's not an exhaustive list of behaviours, merely examples from a "range".

Re:The C++ Iceberg by mpweiher on Wednesday May 08, 2024 @12:55PM (#40300291)
Yes, I agree that there are better solutions, this one is just minimal.

The "range" clearly indicates that you can do something that's semantically in-between the options provided.

What current compilers do is nowhere near that range.