https://issues.dlang.org/show_bug.cgi?id=20770

kinke <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #1 from kinke <[email protected]> ---
(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.

--

Reply via email to