4 ms·
It's undefined behavior in C++. In C it is not certain if it is undefined or unspecified behavior. https://stackoverflow.com/questions/11373203/accessing-inact
by CyberRabbi 5y ago
It's undefined behavior in C++. In C it is not certain if it is undefined or unspecified behavior.
https://stackoverflow.com/questions/11373203/accessing-inactive-union-member-and-undefined-behavior https://stackoverflow.com/questions/11373203/accessing-inact...
- chrisseaton 5y agoI think the standard and the link you've giving makes it pretty explicit that it's unspecified. I don't really see where you can get undefined from?