3 ms·
It will not break any valid program actually. I'm 97.5% sure that aborting or even throwing an exception on an out of bound vector::operator[] would be a fully
by gpderetta 6y ago
It will not break any valid program actually. I'm 97.5% sure that aborting or even throwing an exception on an out of bound vector::operator[] would be a fully conforming implementation.
The fact is that most standard library implementations can already be easily configured to bound check, so there is little pressure to mandate this in the standard.