R
Richard Bos
John Bode said:No. Invoking undefined behavior simply means you've done something
that the standard explicitly does not address
Erm, no. It may also mean something that the Standard does not
explicitly address, which is not the same thing. From 4.2:
# Undefined behavior is otherwise indicated ... or by the omission of
# any explicit definition of behavior. There is no difference in
# emphasis among these three; they all describe ‘‘behavior that is
# undefined’’.
Although in the specific case under discussion, it is indeed explicitly
not defined.
Richard