> On Jul 14, 2019, at 12:40 PM, Michael Van Canneyt <mich...@freepascal.org> 
> wrote:
> 
> Maybe there is no need for a move operator ? I have not seen any argument
> that makes the need for this operator crystal clear.
> 
> When I read your proposal, my first thought was: "solution looking for a 
> problem."

Look at my bug report for some examples. The problem is if you implement the 
copy operator it MUST be called for all assignments and this results in double, 
triple etc… copies of the underlying data even though a simple move would be 
sufficient. It’s an efficiency thing and it should be improved.

Regards,
        Ryan Joseph

_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to