Jan
17th
Thu
17th
D Programming: Scope Guard Statement
- scope(exit) foo() // execute foo() at exit of current scope
- scope(sucess) foo() // execute foo() if current scope exits without error
- scope(failure) foo() // execute foo() if current scope exits with error