3 ms·
checked myself. My cursory, poor search suggests it's UB in C++, but not in C?
by dnautics 5y ago
checked myself. My cursory, poor search suggests it's UB in C++, but not in C?
- steerablesafe 5y agoIt is definitely UB in C++ and probably implementation defined in C (and this use is fine all implementations, AFAIK). Some C++ implementations allow this as a conforming language extension.
- dnautics 5y agothanks for clarifying!