D equivalent of Python's try..else

Kagamin via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun Nov 22 02:01:47 PST 2015


As an idiomatic option there can be `finally(exit)`, 
`finally(success)` and `finally(failure)` that would mirror 
semantics of scope guards.


More information about the Digitalmars-d-learn mailing list