We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
ref:C++内联函数
内联函数可以等价于宏,在预编译时就将内联函数调用出替换为内联函数具体内容。这自然会延长程序的篇幅,从而增大生成的可执行文件的内存大小,但缩短了运行时间(空间换时间).