Inline functions vs Preprocessor macros

后端 未结 14 2375
一个人的身影
一个人的身影 2020-11-22 12:37

How does an inline function differ from a preprocessor macro?

14条回答
  •  广开言路
    2020-11-22 13:32

    To add another difference to those already given: you can't step through a #define in the debugger, but you can step through an inline function.

提交回复
热议问题