The header file defines function objects and function adapters.
头文件定义了函数对象和函数适配器。
Finally, the STL includes a large collection of function objects, also known as functors.
最后,STL包含大量功能对象,也就是功能函数。
You can do this because function objects can be assigned to variables, just like any other value.
能够这样做是因为,与其他值一样,function对象可以赋值给变量。
They merely ensure that arguments and return values of their derived function objects have uniform names.
它们仅仅是为了保证派生出来的函数对象的参数与返回值具有不同的名字。
Because passing function objects in Python is so easy, this class USES far fewer lines than any similar class in another language would require.
因为使用Python传递函数对象是如此简单,与其它语言中的相似类比较,这个类所需使用行数非常少。
The first class-ness of function objects is clearly demonstrated here. Listing 10 shows what happens when I try calling a garbage method on function blah
在这里展示了首个无类函数对象。
However, this presents problems when the library allows arbitrary function objects to implicitly become slots, because slots are no longer comparable.
然而,当库允许任意的函数对象隐式地变成插槽时,这里出现了问题,因为插槽不再具有比较性。
It is designed to cache basic information about business or function objects that will be consumed in many method calls of Web services, and that will change infrequently.
其旨在缓存有关将在Web服务的许多方法调用中使用和不会频繁更改的的业务或功能对象的基本信息。
Function objects are an important part of generic programming because they allow abstraction not only over the types of objects, but also over the operations that are being performed.
函数对象是一个重要的普通程序的一部分,因为他们允许抽象比类型对象还要多,而且比它正在执行的操作还要多。
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是指针的一般化,函数对象是函数的一般化:一个函数对象是你可以使用普通函数调用语法。
This program contains two function definitions: print_lyrics and repeat_lyrics. Function definitions get executed just like other statements, but the effect is to create function objects.
这个程序包含两个函数的定义:print_lyrics以及repeat_lyrics,函数定义的执行就和其他语句一样,但是效果是创建函数对象。
In the first section of this function, you set up objects needed to create the report, like the width and height of the canvas, as well as padding variables.
在这个函数的第一部分中,您设置了创建报告需要的对象,比如画布的宽度和高度以及填充变量。
But are the wear and tear and loss of function of technical objects and the death of living organisms really similar or comparable?
但是,技术品的磨损以及功能的丧失与生物体的死亡真的类似或者有可比性吗?
In the first section of this function, you set up objects needed to create the report, like the width and height of the canvas, and padding variables.
在这个函数的第一部分中,您建立了创建这个报告需要的对象,比如画布的宽度和高度,填充变量等。
It may be a function of empathy; we feel badly for the objects of our derision.
这也许是移情作用的一个功能;我们会对自己嘲笑的对象感到抱歉。
This can turn out to be useful if you want to use a template function on different objects.
如果要在不同的对象上使用一个模板函数,这一点就会显得十分有用。
The factory is simply a component of the runtime whose function is to instantiate SDO data objects from SDO type definitions.
这个工厂仅仅是运行时的一个组件,它的功能就是根据sdo类型定义实例化sDO数据对象。
I would strongly suggest that you go back to the first article to review the basic function of these objects.
我强烈建议重新阅读一下第一篇文章,以回顾这些对象的基本功能。
If the device only performs a simple cryptographic function, all of the objects must be managed by the software.
如果设备只执行简单的密码功能,则所有对象必须由软件来管理。
In other words, you could use something very close to this same function against objects that never derived from XML.
换句话说,您可以对根本不是来自XML的对象使用与这个函数类似的一些代码。
What is its function among other objects?
它对其它事物有何作用?
It may be a function of empathy; we feel badly for the objects of our derision. Or it could be selfishness; we realize people won't like us for nattering on meanly about others.
这或许就是移情作用的功能;对他人的嘲笑,让我们感到糟糕极了,或那可能就是自私;我们注意到,人们不乐意别人拿自己当闲扯对象。
New commands and stored procedures were introduced for registering the schemas to the database to make them function as database objects.
它引入了新的命令和存储过程,用于将模式注册到数据库并充当数据库对象。
Reliability: Just as WebSphere eXtreme Scale replicates and handles application objects, the same function is applied on the asynchronous messages within the grid.
可靠性:就像WebSphereeXtremeScale复制和处理应用程序对象那样,同样的功能也被应用到网格中的异步消息。
We have the iter built-in function to turn many sequence-like objects into iterators.
还出现了iter内置函数,它可以将许多类似于序列的对象转换为迭代器。
We have the iter built-in function to turn many sequence-like objects into iterators.
还出现了iter内置函数,它可以将许多类似于序列的对象转换为迭代器。
应用推荐