Trying to convert an if-elseif group to a group of ternaries. Getting “operand types are incompatible (”Node *“ and ”int“)C/C++(42)”

后端 未结 0 970
不思量自难忘°
不思量自难忘° 2021-01-02 02:43

So, for the sake of making my code faster, I was hoping to turn my if-statements into ternaries, as this was the perfect place to do so. This is because ternaries are faster

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