[std-interval] More on interval computations as proofs
Stephen.Clamage at Sun.COM
Sat Oct 7 16:55:31 PDT 2006
>>Dr John Pryce <j.d.pryce at ntlworld.com> writes:
> Throwing exceptions was shot down for speed and
> stack-destroying reasons, ...
What is the objection to the stack-destroying property of exceptions?
You can choose to catch the exception where ever you are prepared to
deal with it. Only the stack frames between the throw point and the
catch point are lost.
I don't see how that situation differs from the solution using a global
flag. The stack frames between the point of error and the point where
you check the flag are still lost.
Steve Clamage, stephen.clamage at sun.com
More information about the Std-interval