The out of scope variable的意思|示意
范围外变量
The out of scope variable的网络常见释义
外部作用域变量 > The out of scope variable/外部作用域变量 > Be careful with chained operations/小心链式操作 ..
The out of scope variable相关例句
Local variables are faster to access than out-of-scope variables because they exist in the first variable object of the scope chain.
局部变量比域外变量快,因为它位于作用域链的第一个对象中。
Consider the example in Listing 1, where a closure is defined in a class, and then invoked after the object variable goes out of scope.
考虑清单1中的示例,其中closure定义为类,并且在对象超出范围之外后进行调用。
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.
仔细检查函数中所有使用的变量,如果有一个变量不是当前作用域定义的,而且使用了不止一次,那么我们就应该把这个变量保存在局部变量中,而使用这个局部变量来进行读写操作。
Use this function to clear variables of type VARIANTARG (or VARIANT) before the memory that contains the VARIANTARG is freed (as when a local variable goes out of scope).
使用这个函数去清除VARIANTARG(或VARIANT)类型的变量在内存包含的VARIANTARG被释放(当一个局部变量超出作用域时)。
But lambda expressions are treated as values and can therefore be stored in a variable and executed after the block in which the captured variable was declared has gone out of scope.
但是,lambda表达式被视为值,因此可存储在变量中并在将捕获的变量声明为超出范围的代码块执行之后执行。
When a closure "captures" a variable it "lifts" the variable out of its local scope and effectively moves it into an anonymous object.
当一个闭包“捕获”一个变量时,它就会将这个变量提取出它的本地范围,移到一个匿名对象里。