Term used to describe function scope and the scopes nested inside a function.
用于描述函数作用域和函数内嵌套的作用域的术语。
The "closure" can be viewed as a temporary object that exists in the function scope.
“闭包”可以被看成是在function scope中的一个临时对象。
The macro is typically used at function scope inside template functions, when the template arguments need checking.
模板函数的函数域中使用这个宏,当模板参数需要检查时,宏的使用是是具有代表性的。
This is also make sense since the object was passed by value and its data will not be needed outside the function scope.
这似乎也很合理,因为我们是按值进行的传递,在超出函数的作用范围后,我们不需要该变量。
Suggestion: before the interview for you to try to interview the position, function scope has the certain knowledge and understanding.
建议:面试前要尽量对你面试的工作职务,职能范围有一定的认识和了解。
To be responsible for the comprehensive coordination of Three Simultaneities safety facility requirements for construction projects according to function scope.
按照职责范围,负责综合协调建设项目安全设施“三同时”工作。
Consider outside business partners that provide or request some sort of business function key to your business. In that case, the scope of the service is defined for you.
考虑这样一种情况,一些外部的合作伙伴提供或请求某种对您的企业来说非常关键的功能,那么这也就为您确定了服务的范围。
You can use static assertions in global scope and inside namespaces, function bodies, or class declarations.
可以在全局范围以及在名称空间、函数体或类声明内使用静态断言。
A closure "closes around" these references, so the function invocation can safely refer to the variables even when the variables have gone out of scope!
一个闭包封闭了这些引用,所以函数调用可以安全的引用这些变量,即使它们已经超出了函数的作用域。
We may need to augment their behavior to match what we want the function to do, but we also want to redefine the function with another name to avoid further cluttering the scope.
我们需要增强它们的行为,以使函数符合我们的期望,但是我们也需要使用另一个名字重新定义函数,从而避免进一步混淆范围。
Individual files at any scope in the application EAR can be added, deleted, or updated via update function.
可以通过更新功能对应用程序EAR中任何范围的单个文件进行添加、删除或更新操作。
With function arguments, the parameters passed must be in stack scope.
带有函数参数,参数传递必须在堆栈范围内进行。
These are more practical than using the function boundaries which may provide too much, or too little, scope.
这比使用函数边界实用得多,函数边界提供的范围可能太大或太小。
Using closures serves the same purpose in this situation as it would outside of a class: to contain a specific function to be bound within a small scope.
在这种情况下使用闭包与在类外部使用闭包实现的目的相同:包含在小范围内绑定的特定函数。
The Context Diagram also represents the scope of the particular function or the overall system.
内容图表还代表了特定功能及总体系统的范围。
This closed scope is the communication that ties the closure to the calling function and the code that defines it.
这个闭合的作用域是将闭包同调用函数和定义它的代码联系起来的纽带。
One could also foresee custom iterators being created and used entirely within the scope of a function.
人们也可以预先自定义一些迭代器,在函数的整个作用域内创建并使用。
The functions themselves only exist in the scope of the variable of which they are defined, so when that variable goes out of scope, so does the function.
函数本身仅存在于定义函数的变量范围内,因此当该变量超出范围时,函数也超出范围。
Decide which elements of SOA technology or SOA function are your priorities to implement (see Identifying the immediate scope of concern).
决定SOA技术或SOA功能的哪些元素应该优先实现(请参阅确定所涉及的直接范围)。
Watch the variables being used in a function. If you notice a function using an out-of-scope variable more than once, store it in a local variable and use that instead.
仔细检查函数中所有使用的变量,如果有一个变量不是当前作用域定义的,而且使用了不止一次,那么我们就应该把这个变量保存在局部变量中,而使用这个局部变量来进行读写操作。
First, check for Web workers by looking for the worker function in the global scope (window).
首先要通过在全局范围(视窗)中查找worker函数来检测Webworker。
Coming into scope at function entry.
在函数入口变成范围作用域。
A Groovy Closure is an anonymous function that can access its enclosing scope, can be called repeatedly at will, and be passed around as it were data.
一个Groovy闭包是一个匿名函数,它可访问包含它的范围,可随意被重复调用,并可将其当作数据到处传递。
You can use Boost static assertions in a class, function, or namespace scope; you can also use them with templates.
您可以在类、函数或命名空间范围中使用Boost静态断言;还可以与模板一起使用它们。
Because tally is a local variable within the function, it is created anew with each call and falls out of scope and is destroyed automatically when each call returns.
由于tally是函数内的本地变量,它将在每次调用时重新创建并清空范围,并且在每个调用被返回时自动销毁。
TextSplitter.splitter is basically similar to a global utility function, but with somewhat better control of scope.
splitter基本上类似于全局通用函数,但其对范围的控制更好。
The calculator makes use of the local statement to declare x as a local variable that is available only within the scope of the mycalc function.
这个计算器利用local语句将x声明为局部变量,只能在mycalc函数的范围内使用。
Because the inner function holds a reference to the outer function's variables, the scope object with property a will not be garbage collected.
由于内部函数持有到外部函数的变量的引用,所以这个带属性a的范围对象将不会被垃圾收集。
That is, a closure is an anonymous function that, when created, attaches to itself the value of variables from the scope of the code that created the function.
就是说,closure是个匿名函数,在其创建时,将来自创建该函数的代码范围内得变量值附加到它本身。
Mode field specifies the scope of tracing, that is, global for all users on the system or user for users who have tracing enabled by the Administration API task function.
模式(mode)指定跟踪的范围,即是针对系统上的所有用户,还是只针对通过AdministrationAPItask函数启用了跟踪的用户。
应用推荐