Thread overview | ||||||
---|---|---|---|---|---|---|
|
April 26, 2020 [Issue 20770] error: cannot pass types that need destruction as variadic arguments | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=20770 kinke <kinke@gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kinke@gmx.net --- Comment #1 from kinke <kinke@gmx.net> --- (In reply to Iain Buclaw from comment #0) > There is no reason why internally these can't be passed by invisible reference. Not so sure about that; normally, the compiler creates a temporary in the caller, passes it by hidden ref, and lets the callEE destruct the temporary. In the vararg case, there's no formal parameter, and the callee doesn't destruct. -- |
April 27, 2020 [Issue 20770] error: cannot pass types that need destruction as variadic arguments | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=20770 Iain Buclaw <ibuclaw@gdcproject.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ibuclaw@gdcproject.org --- Comment #2 from Iain Buclaw <ibuclaw@gdcproject.org> --- structs with postblits and copy-ctors need to have the same applied as well. -- |
December 17, 2022 [Issue 20770] error: cannot pass types that need destruction as variadic arguments | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=20770 Iain Buclaw <ibuclaw@gdcproject.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P1 |P4 -- |
December 13 [Issue 20770] error: cannot pass types that need destruction as variadic arguments | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=20770 --- Comment #3 from dlangBugzillaToGithub <robert.schadek@posteo.de> --- THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/19696 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB -- |
Copyright © 1999-2021 by the D Language Foundation