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

--- Comment #20 from Andrei Alexandrescu <[email protected]> ---
(In reply to Sobirari Muhomori from comment #19)
> If the caller owns the arguments, it can also help with issue 12684 and
> similar.

Once the callee gets called, it must own its by-value arguments. That way we
essentially avoid C++'s issue with unnecessary copying (callee copies, call,
caller makes a copy inside, callee destroys the copy) without a costly feature
(C++'s rvalue references).

--

Reply via email to