Equivalence of “a @= b” and “a = a @ b”

前端 未结 4 1166
梦如初夏
梦如初夏 2021-02-12 22:15

It\'s often mooted (indeed I think even the standard alludes to it), that a @= b and a = a @ b are equivalent. Here I\'m using @ to stand

4条回答
  •  不知归路
    2021-02-12 22:56

    You can define ^= and ^ to do completely different things. So, no compiler can't change one to the another just if it wants

提交回复
热议问题