5 ms·
You might be interested in D's scope guard statement: http://dlang.org/statement.html#ScopeGuardStatement http://dlang.org/statement.html#ScopeGuardStatement
by WalterBright 13y ago
You might be interested in D's scope guard statement:
http://dlang.org/statement.html#ScopeGuardStatement http://dlang.org/statement.html#ScopeGuardStatement
and an article about it:
http://dlang.org/exception-safe.html http://dlang.org/exception-safe.html