inline function

 
       
  • 內聯函數

inline function的用法和樣例:

例句

  1. 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.
    如果是這種情況,你可能會通過將它聲明成內聯函數來避免函數調用的消耗。
  2. In contrast, when an inlined function is invoked, the compiler inserts the object code for that function at the point-of-call.
    相反,當內聯函數被調用的時候,編譯器會把對象源代碼插入到引用函數之處。

辭彙搭配

inline function的相關資料:

臨近單詞

今日熱詞
目錄 附錄 查詞歷史