3 ms·
Operator delete still exists. Dereferencing void * still exists. Access like a[i] is still unchecked. Etc. But indeed, these things can't be removed or reworke
by nine_k 4y ago
Operator delete still exists. Dereferencing void * still exists. Access like a[i] is still unchecked. Etc.
But indeed, these things can't be removed or reworked without breaking backwards compatibility. (And if you seriously take on reworking them, you'll end up with a different language, which we already have several.)
- jcelerier 4y ago> Dereferencing void * still exists. ... huh? i'm fairly confident dereferencing void is not valid C++ ; at the very least gcc/clang/msvc do not compile it: https://gcc.godbolt.org/z/hK6qb1z6o https://gcc.godbolt.org/z/hK6qb1z6o