[Issue 22396] Assignments from function value parameters should pass by move when possible

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Oct 19 07:17:38 UTC 2021


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

RazvanN <razvan.nitu1305 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |razvan.nitu1305 at gmail.com

--- Comment #1 from RazvanN <razvan.nitu1305 at gmail.com> ---
This sort of analysis was proposed in the move constructor DIP:
https://github.com/dlang/DIPs/blob/a9c553b0dbab1c2983a801b5e89b51c5c33d5180/DIPs/DIP1040.md
(Last Use chapter).

Until the DIP is accepted and implemented this will probably not be solved.

--


More information about the Digitalmars-d-bugs mailing list