| ▲ | Joker_vD an hour ago | |
> And one of those kinds of "blast radius" is traps, Wait. An implementation-defined behaviour isn't allowed to be trap/termination of execution? Okay, make it unspecified then, with the options of trapping or calculating some unspecified (not indeterminate) integer value. > N3863 Hm?
Eh, I'd argue that omission of such a list is merely an implicit infinite ("two or more", you know) list of possibilities, its construction being self-evident.
There is an infinite list of possible ways to map multibyte characters to the source character set — an implementation has to pick one and document it.
There is an infinite list of possible diagnostic messages...
There is an infinite list of possible C identifiers that an implementation may chose as the name of the function to call at program startup. | ||
| ▲ | jcranmer an hour ago | parent [-] | |
N3863 is one of those papers where what the paper proposed and what was actually discussed in the meeting ended up being rather different things, and it's the meeting discussion that I'm pointing to, not the paper itself. > Wait. An implementation-defined behaviour isn't allowed to be trap/termination of execution? Okay, make it unspecified then, with the options of trapping or calculating some unspecified (not indeterminate) integer value. Unspecified behavior also isn't allowed to be a trap. The difference between unspecified and implementation-defined is whether or not the compiler has to document its choice; the difference between unspecified and undefined is whether or not the choice is limited. | ||