R
RB
I agree with you. And even so the compiler switch does not actually turn
off exceptions from happening (as I am sure you are aware of ) but rather
only turns off the ability for SEH type exceptions from being caught in the
compiled code. The final CRT caller and/or OS handler will still put a crash
dialog in my face if the violation is serious enough. And if it is a lesser infraction
my app continues along like a person with colon cancer but no colonoscopy test
to tell him it needs removed. I'm sure you can guess the results of that scenario.
But admittedly the OP says that his calling code takes care of any errors.
And I don't doubt his competence which is probably much higher than mine.
What I do doubt (from within my competence level ) is how his calling code
is going to cover uncontrollable items that may happen while inside the STL lib ?
Is his error covering code going to be able to back out of STL, destruct any
allocated items and reset any items that have traversed to current expecting
completion ? Granted a good lib ( like STL ) would do that on it's own BUT
the vehicle for doing so would be exceptions.
off exceptions from happening (as I am sure you are aware of ) but rather
only turns off the ability for SEH type exceptions from being caught in the
compiled code. The final CRT caller and/or OS handler will still put a crash
dialog in my face if the violation is serious enough. And if it is a lesser infraction
my app continues along like a person with colon cancer but no colonoscopy test
to tell him it needs removed. I'm sure you can guess the results of that scenario.
But admittedly the OP says that his calling code takes care of any errors.
And I don't doubt his competence which is probably much higher than mine.
What I do doubt (from within my competence level ) is how his calling code
is going to cover uncontrollable items that may happen while inside the STL lib ?
Is his error covering code going to be able to back out of STL, destruct any
allocated items and reset any items that have traversed to current expecting
completion ? Granted a good lib ( like STL ) would do that on it's own BUT
the vehicle for doing so would be exceptions.