https://issues.dlang.org/show_bug.cgi?id=22396
RazvanN <razvan.nitu1...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |razvan.nitu1...@gmail.com --- Comment #1 from RazvanN <razvan.nitu1...@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. --