https://issues.dlang.org/show_bug.cgi?id=22680
Dennis <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #5 from Dennis <[email protected]> --- (In reply to Stanislav Blinov from comment #4) > There would be unwanted side effects. On a struct, for example, marking a > destructor scope would prevent you from returning instances of such struct. No, it only adds restrictions to the destructor's function body, not the destructor's caller. --
