Scope failure is not preventing application crush in case of uncaught exceptions

ketmar ketmar at ketmar.no-ip.org
Sat Dec 16 20:56:26 UTC 2017


kerdemdemir wrote:

> As far as I know scope(failure) should be collecting all failure cases.

nope. `failure` scope won't stop exception propagation, it is just called 
before exception leaves your function, to give you a last chance to do some 
immediate cleanup.


More information about the Digitalmars-d-learn mailing list