函数模板就像是用户定义函数的一个扩展。
A function template is like an extension to a user-defined function.
清单4定义一个包装MON_GET _table表函数的表函数。
Listing 4 defines a table function that wraps the MON_GET_TABLE table function.
这里仅定义了stats函数,但若需要,您还可定义更多的函数。
Here, this merely defines the stats function, but you could do more if you desired.
函数头:函数定义的第一行。
要使用take- while函数,我们必须要定义一个十分简单的函数,称为less-than - four - million ?
To use the take-while function, we had to define a very simple function called less-than-four-million?
特别是函数定义将新函数的命名绑定于此。
In particular, function definitions bind the name of the new function here.
特别的,函数定义为新的函数绑定了名字。
In particular function definitions bind the name of the new function here.
您要仔细地定义每个函数的输入值和每个函数的返回值。
You define carefully the input to each function, and what each function returns.
定义磨光函数逼近阶跃函数的可操作的近似是第二步;
The second step is to define the polish function to approach the step-up function;
定义磨光函数逼近阶跃函数的可操作的近似是第二步;
The second step is to define the polish function to approach the step-up function;
应用推荐