Download for Windows Premium
Advertising
function object

Translation of "function object" in Chinese

We couldn’t find this entry. Showing approximate results. Check your spelling or suggest adding this term to the dictionary.
函数对象
Above function defines a function inside a function and then returns the function object.
上面的函数在函数内部定义一个函数,然后返回该函数对象
To remove a function object, we need to store a reference to it, like this
要移除函数对象,我们需要存储对它的引用,就像这样:
The exotic bound function object returned by f.bind(...) remembers the context (and arguments if provided) only at creation time.
f.bind(... ) 返回的外来的 绑定函数 对象仅在创建的时候记忆上下文(如果提供了参数)。
So, for example, in an object-oriented language, when a function of an object is referenced as an object (freeing it from having any knowledge of its enclosing host object) the new function object can be passed, stored, and called at a later time.
例如,在面向对象的语言中,当对象的一个函数被引用为一个对象(无需了解包含他的宿主对象)时,新的函数对象可以传递,存储,稍后调用。
As of [[C++11|the 2011 revision]], the C++ language also supports closures, which are a type of function object constructed automatically from a special language construct called "lambda-expression".
C++11标准已经支持了闭包,这是一种特殊的函数对象,由特殊的语言结构 - lambda表达式 自动构建。
The class print is a function object which writes data to the standard output stream. When called, the overloaded operator()() operator receives a pointer to the beginning and end of the data as identified by the rules executing the particular action.
类 print 是一个函数对象,它将数据写出至标准输出流。 当其被调用时,重载的 operator()() 操作符将接受一对指向数据起始点和结束点的指针,所指范围即为被执行该动作的规则所识别出来的数据。
Actions are implemented as functions or function objects. The latter are beneficial if the action should be initialized or maintain state information between repeated executions. The above example implements the action as a function object.
动作被实现为函数或函数对象。 如果动作需要被初始化或是要在多次执行之间维护某些状态信息,则后者更好一些。 以上例子中将动作实现为函数对象
Now you understand a lambda is a function object; you may expect lambdas to store arbitrary values, not just to capture the values from their local scope. Fortunately, in C++14, lambdas can introduce new variables in its body by the mean of capturing with an initializer4.
现在你理解了lambda表达式的本质不过是一个函数对象,你也许会期望lambda表达式能够储存任意的值而不仅仅是被捕获的本地变量。幸运的是C++14加入了通用捕获功能3。你在C++14中可以使用初始化器来为lambda表达式引入新的变量。
Django offers another way of specifying the view function for a particular pattern in the URLconf: you can pass a string containing the module name and function name rather than the function object itself. Continuing the ongoing example
Django 还提供了另一种方法可以在 URLconf 中为某个特别的模式指定视图函数:你可以传入一个包含模块名和函数名的字符串,而不是函数对象本身。继续示例:
As explained in Chapter 3, each entry in the URLconf includes its associated view function, passed directly as a function object. This means its necessary to import the view functions at the top of the module.
正如第三章中所解释的,在 URLconf 中的每一个入口包括了它所联系的视图函数,直接传入了一个函数对象。这就意味着需要在模块开始处导入视图函数。
It must first be retrieved into a Method or Proc object to be used as first-class syntax for calling such a function object differs from calling regular methods.
必须通过Method 或Proc 对象来获取头等数据。 调用这种函数对象的语法不同于调用普通函数的语法。
Function object, NFE
函数对象,NFE
Creates a function object that returns the complement of the result of the function object it holds (function template) [edit]
创建函数对象,它返回其所保有的函数对象结果的逻辑补 (函数模板 ) [ 编辑]
No results found for this meaning.

Synonyms and analogies of "function object" in English

Word & Expression of the day
Image of the day
dumbbell: short bar with weights on each end
Reveal the word
Advertising

Suggestions that contain function object

Results: 16. Exact: 16. Elapsed time: 14 ms.

Word index: 1-300, 301-600, 601-900

Expression index: 1-400, 401-800, 801-1200

Phrase index: 1-400, 401-800, 801-1200