Generates both the class constructor and the class definition as inline functions in the header file 內(nèi)聯(lián)將類構(gòu)造函數(shù)和類定義兩者生成為頭文件中的內(nèi)聯(lián)函數(shù)。
When an inline function returns a table , you can use that function in the from clause of another query 當(dāng)內(nèi)聯(lián)函數(shù)返回表時,您可以在另一個查詢的from子句中使用該函數(shù)。
For example , if you begin with an inline function , you cannot modify the sql statements to a scalar - valued function 例如,在開始處理一個內(nèi)聯(lián)函數(shù)時,不能修改sql語句將該函數(shù)變成標量值函數(shù)。
Is an inline function , meaning the compiled code makes the conversion , often without generating a function call 是一個“內(nèi)聯(lián)函數(shù)” ,這意味著轉(zhuǎn)換是由已編譯的代碼執(zhí)行的,通常不會生成函數(shù)調(diào)用。
The order by clause is not valid in views , inline functions , derived tables , and subqueries , unless top is also specified 除非同時指定了top ,否則order by子句在視圖、內(nèi)聯(lián)函數(shù)、派生表和子查詢中無效。
That ' s it . as you can see , this program is really just a simple inline function hook , no more complex than the example from chapter 5 就這樣了??梢钥吹剑@個程序不過是個簡單的內(nèi)嵌函數(shù)掛勾,不比第5章的例子復(fù)雜多少。
When order by is used in the definition of a view , inline function , derived table , or subquery , the clause is used only to determine the rows returned by the top clause 在視圖定義中使用order by時,該子句僅用于確定用top子句返回的行。
Inline functions are always packaged if they are instantiated as calls which occurs , for example , if inlining is turned off or you take a function address 如果內(nèi)聯(lián)函數(shù)實例化為調(diào)用(例如,當(dāng)關(guān)閉內(nèi)聯(lián)或獲取函數(shù)地址時出現(xiàn)這種情況) ,則始終打包內(nèi)聯(lián)函數(shù)。
For example , if there exists a function a that frequently calls function b , and function b is relatively small , then profile - guided optimizations will inline function b in function a 內(nèi)聯(lián)例如,如果有一個頻繁調(diào)用函數(shù)b的函數(shù)a ,而函數(shù)b相對較小,按配置優(yōu)化會將函數(shù)b內(nèi)聯(lián)到函數(shù)a中。
Inline function if a user - defined function contains a single select statement and that statement is updatable , then the tabular result returned by the function is also updatable 內(nèi)聯(lián)函數(shù)如果用戶定義的某個函數(shù)包含一個select語句,并且該語句是可更新的,則該函數(shù)所返回的表格格式結(jié)果也是可更新的。
In various versions of the C and C++ programming languages, an inline function is a function upon which the compiler has been requested to perform inline expansion. In other words, the programmer has requested that the compiler insert the complete body of the function in every place that the function is called, rather than generating code to call the function in the one place it is defined.