|
|
|
|
|
by MauranKilom
2754 days ago
|
|
Undefined behavior is "literally anything can happen". So yes, implementations doing "what they feel is the right thing to do" is one possible result of UB (as in this case). It could also emit an rm -rf / call and it would still comply with the standard... |
|