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 -- |
December 13 [Issue 6186] Struct destructor is not called on out parameter | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=6186 --- Comment #9 from dlangBugzillaToGithub <robert.schadek@posteo.de> --- THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/18348 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB -- |
Copyright © 1999-2021 by the D Language Foundation