3 ms·
But can the compiler warn about such undefined behavior? Because if it can't, it's not much better than C.
by spc476 9y ago
But can the compiler warn about such undefined behavior? Because if it can't, it's not much better than C.
- tonyarkles 9y agoI just tried: g++ -Wall -pedantic vec.cpp And got no errors or warnings.