Is it possible that a C/C++ compiler doesn't have to even inline the smallest function/code? If so, why not?

后端 未结 0 589
执念已碎
执念已碎 2021-01-30 10:54
inline int sum(int a, int b) {
    return a + b;
}

Let\'s say you had this code; a very small function with only o

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