You cannot at the moment, but it is definitely something very desirable. Covered by RFC No. 393 .
A very long time ago x += y was implemented as x = x + y , but it always had errors. I donβt think that at that time there were any fundamental problems with this approach, but now I think that switching to operator attributes that take arguments by value makes the noise reduction work more efficient.
source share