by AaronBallman · 6y ago · 0 comments
You're exactly right that this is why there is a distinction between conforming and strictly conforming code.
Implementations define undefined behavior all the time and users rely on it. For instance, POSIX defines that you can convert an object pointer into a function pointer (for dlsym to work), or implementations often rely on offsets from a null pointer for their 'offsetof' macro implementation.