This call actually compiles to an inline function.
这个调用实际上编译成一个内联函数。
Listing 4. Generated Code for an inline function in body file.
列表4.在实体文件中为一个内联函数所生成的代码。
The inline function can be overused in class definitions, of course.
当然,内联函数也许会在类定义里被多次使用。
In this case, you used an anonymous inline function, also known as a closure.
在这个案例中您使用一个匿名内联函数,也称为一个闭包。
However, an inline shell function is perfect.
然而,内联外壳函数正好适合这种情况。
You cannot force the compiler to inline a particular function.
您无法强制编译器内嵌某一特定函式。
You cannot force the compiler to inline a particular function.
您无法强制编译器内嵌某一特定函式。
应用推荐