Rewriting addition as a unary expression

后端 未结 0 1085
春和景丽
春和景丽 2021-01-18 05:39

I came across the following statement:

A smart compiler can recognize that x = x + 1 can be treated the same as ++x.

相关标签:
回答
  • 消灭零回复
提交回复
热议问题