The simplest is to use a function object.
最简单的方法是用一个函数对象。
The first step is to define a function object type.
第一步是定义一个函数对象类型。
This type of object is known as a functor or function object.
这种类型的对象称为functor或者function object。
It has at least the same lifetime as the function object (absent something funky).
它具有至少相同的寿命为函数对象(没有什么时髦的)。
Any function object that is a class attribute defines a method for instances of that class.
类属性的任何函数对象都为那个类的实例定义了一个方法。
Any function object that is a class attribute defines a method for instances of that class.
类属性中的任何函数对象在类实例中都定义为方法。
In usual cases of method invocation the return result is a function object, which is then executed.
方法调用通常返回的结果是一个函数对象,然后执行这个函数对象。
Notice that then, in the body of the loop, I use callback to invoke the passed parameter function object.
然后请注意,在循环体中,我使用callback来调用传递的参数函数对象。
The returned function is created using the lambda construct, which dynamically creates a new function object.
返回的函数使用lambda 结构创建,该结构动态创建新的函数对象。
I ts function object achieve mobile telephone saling mode: from traditional shopping mode to online saling mode.
其功能目标是将手机销售由传统的商店模式向在线销售转变。
A value created by a function definition. The name of the function is a variable that refers to a function object.
函数对象:由函数定义所创建的值,函数名字指代了这一函数对象。
Methods also support accessing (but not setting) the arbitrary function attributes on the underlying function object.
方法也支持获取(但不(能)设置)函数的任意属性?
In this case the returned function object is a closure which encapsulates some logging code and the data needed to call the original function.
这种情况下返回的函数对象就是一个闭包,其中封装了一些日志代码和最初的函数调用所需要的数据。
Each function object has an internal property called [[scope]] that is initialized with information about the scope in which the function was created.
每个函数对象都有一个叫做[[scope]]的内部属性,这个内部属性包含创建函数时的作用域信息。
So far, to use custom comparison functions, the standard practice has been to define your own function object and then define the operator appropriately.
到目前为止,要想使用定制的比较函数,标准的做法是定义自己的函数对象,然后适当地定义操作符。
Function approximation is one of the most important ability of ANN, a function object can be replaced by an ANN model with function approximation ability.
函数逼近能力是ANN具有的重要性能之一,依据ANN具有的函数逼近能力,可用ANN模型去替代一个确定的物理对象。
As a function object derives from nature, it is feasible for them to become the object of the quasi - property because of the characteristics belong to it.
作为一种自然力的功能性载体,由于其具有可感知性、可确定性和相对的可支配性,因此具有成为准物权权利客体的可能。
The closure captures the information about the actual Web service method stub to be invoked (the function object called obj) as well as the stream for the log output.
闭包捕获真正被调用的Web服务方法存根(称为obj的函数对象)以及流作为日志输出。
Effectiveness is introduced as a function object. By nonlinear map ability of neural network, all state information is used to build a logical decision standard.
引入效能概念作为决策信息融合的性能指标,借助神经网络的非线性映射能力,充分利用全状态信息离线建立了合理的决策准则。
Defining a function object for IDS is slightly different from defining a function object for some of the other IBM database flavors supported by the IBM database Add-ins.
为IDS定义函数对象与为ibmDatabaseAdd - ins支持的其他IBM数据库类型定义函数对象稍微不同。
It is not necessary that the function definition is textually enclosed in the class definition: assigning a function object to a local variable in the class is also ok.
不是必须要将函数定义代码写进类定义中,也可以将一个函数对象赋给类中的一个变量。
However, the method copies a pointer to the selected function into a local variable, and then calls the function with the call method of the function object, rather than calling it directly.
但是,这个方法将所选函数的指针复制到一个局部变量中,然后用function对象的call方法调用这个函数。而不是直接调用它。
Just as iterators are a generalization of Pointers, function objects are a generalization of functions: a function object is anything that you can call using the ordinary function call syntax.
正像iterators是指针的一般化,函数对象是函数的一般化:一个函数对象是你可以使用普通函数调用语法。
The large function names and object system now show their worth.
大函数名和对象系统现在显示出它们的价值。
The large function names and object system now show their worth.
大函数名和对象系统现在显示出它们的价值。
应用推荐