inline function的用法和樣例:
例句
- If that is the case, you'll probably be tempted to avoid paying the overhead cost of a call to an empty function by declaring your destructor inline.
如果是這種情況,你可能會(huì )通過(guò)將它聲明成內聯(lián)函數來(lái)避免函數調用的消耗。 - In contrast, when an inlined function is invoked, the compiler inserts the object code for that function at the point-of-call.
相反,當內聯(lián)函數被調用的時(shí)候,編譯器會(huì )把對象源代碼插入到引用函數之處。
詞匯搭配
- in line 成一直線(xiàn)