Thread overview | |||||
---|---|---|---|---|---|
|
November 16, 2014 [Issue 6186] Struct destructor is not called on out parameter | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=6186 --- Comment #7 from Walter Bright <bugzilla@digitalmars.com> --- I'm beginning to think that there's no good way to make this work. In essence, make it an error to use 'out' for objects with a destructor. Use 'ref' for such objects, which has well-defined semantics. -- |
November 17, 2014 [Issue 6186] Struct destructor is not called on out parameter | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=6186 --- Comment #8 from hsteoh@quickfur.ath.cx --- What are the scenarios that would make this hard to fix according to the original proposal? -- |
December 17, 2022 [Issue 6186] Struct destructor is not called on out parameter | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=6186 Iain Buclaw <ibuclaw@gdcproject.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P2 |P3 -- |
Copyright © 1999-2021 by the D Language Foundation