Quote:
> > Thanks. What's the purpose of disabling C++ exception handling?
> Historical compatibility. For new C++ development, it makes little sense,
> since many standard library features require exception handling. Where
it's
> not required, disabling EH does improve performance and decrease code
size.
Has anyone actually done any performance analysis on this to see exactly how
much this really affects the resulting code?
To me, it would seem that:
(no exceptions:)
BOOL fSuccess = DoSomeOperation1();
if (fSuccess) fSuccess = DoSomeOperation2();
if (fSuccess) fSuccess = DoSomeOperation3();
...
would perform worse than:
try{
DoSomeThrowOperation1();
DoSomeThrowOperation2();
DoSomeThrowOperation2();
...
Quote:
}
catch (SomeException)