Question:
Is there any situation where compiler will not take function as inline(note function is not big)
Answer:
1. when using recursion
2. when using loops inside functions
3. when taking function addresses
探讨编译器在处理函数内联时的决策,包括递归、循环和函数地址使用情况的影响。
Question:
Is there any situation where compiler will not take function as inline(note function is not big)
Answer:
1. when using recursion
2. when using loops inside functions
3. when taking function addresses

被折叠的 条评论
为什么被折叠?