Comment Comment by WalterBright The scope guard statement is even better!https://dlang.org/articles/exception-safe.htmlhttps://dlang.org/spec/statement.html#ScopeGuardStatementYes, D also has destructors. parent WalterBright 10 months ago
https://dlang.org/articles/exception-safe.html
https://dlang.org/spec/statement.html#ScopeGuardStatement
Yes, D also has destructors.