It's unsafe as an unfortunate side effect of the real point of C++: zero cost abstractions.
If there had been a way to make C++ safe and have zero cost abstractions (and be backwards compatible with C!) I'm sure they'd have done it.
It's unsafe as an unfortunate side effect of the real point of C++: zero cost abstractions.
If there had been a way to make C++ safe and have zero cost abstractions (and be backwards compatible with C!) I'm sure they'd have done it.