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

Andrei Alexandrescu <[email protected]> changed:

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

--- Comment #5 from Andrei Alexandrescu <[email protected]> ---
(In reply to Walter Bright from comment #3)
> (In reply to Sobirari Muhomori from comment #1)
> > Shouldn't the argument be destructed by the caller when the callee returns?
> 
> Yes. Once the function gets called, it gets marked by the compiler as "don't
> destroy this".

Wait, I'm confused. On the normal path (no exceptions) isn't the callee
destroying its by-value arguments?

--

Reply via email to