This section tells you how to create C++ inline functions from a UML model.
本小节向您介绍如何从一个UML模型中创建 C++内联函数。
With WPO, the compiler can inline functions from any source file in the program.
有了WPO,编译器就可以从程序中的所有源文件内联函数。
The CLR's JIT compiler can even inline functions across assemblies, significantly reducing the overhead for the fine-grained methods that OOP programmers prefer.
CLR的JIT编译器甚至可以跨程序集内联函数,从而大大降低了调用细粒度方法(OOP程序员偏爱此类方法)的开销。
The other possible branches in the code are either inline functions (which can, obviously, be inlined by the compiler), or are easily branch-eliminated by the compiler.
其他代码要么是内联函数(显然可以由编译器进行内联),要么是可以由编译器轻松消除分支的代码。
Another feature of imported inline functions is that you can initialize static local data of the imported function, unlike global imported data.
导入内联函数的另一项功能是您可以初始化导入函数的静态局部数据,这一点与全局导入数据不同。
Another feature of imported inline functions is that you can initialize static local data of the imported function, unlike global imported data.
导入内联函数的另一项功能是您可以初始化导入函数的静态局部数据,这一点与全局导入数据不同。
应用推荐