Type inference is used for methods, too.
类型推断对方法也有用。
Doesn't it need to do type inference at runtime?
它不需要在运行时做类型推断?
Improved Type Inference for Generic Instance Creation.
改进对通用实例创建的类型推断。
Type inference for block variables within block calls.
在块内部的块变量类型推导。
Why doesn't VB. Net type inference work in class fields?
为什么不在类域网VB。类型推理工作?
Visual Basic 10 adds type inference for initialization arrays.
VisualBasic10为数组初始化增加了类型推断。
Instead, the compiler could figure it out for itself using type inference.
相反,使用类型推断,编译器可以自己处理。
Code that USES type inference resembles code that relies on late binding.
使用类型推理的代码类似于依赖后期绑定的代码。
In type inference, the compiler infers the types of values based on the context.
在类型推断的情况下,编译器会根据上下文推断值的类型。
Structural Subtyping (duck typing) using type inference and anonymous types.
使用类型引用和匿名类型的结构子类型转化(动态类型)。
The type inference picks a type that works for all outcomes of the if expression.
类型推断选择了一个满足if表达式所有结果的类型。
While nice to have, type inference was not added just to make typing a bit faster.
虽然看上去不错,不过添加类型推断却不只是为了提高开发者的那么一点点输入速度。
The same rules for type inference apply to static methods and instance methods.
相同的型别推断规则也适用于静态方法和执行个体方法。
Type inference minimizes the need for explicit type information in many contexts.
类型推断使得显式的类型声明信息在大多数场合下减少到了最低。
The capture-helper trick depends on several things: type inference and capture conversion.
捕获助手技巧涉及多个因素:类型推断和捕获转换。
The compiler applies type inference logic to all generic methods that share the same name.
编译器会对共用相同名称的所有泛型方法套用型别推断逻辑。
Nevertheless, because of type inference, in many cases no types have to be explicitly specified.
尽管如此,正如类型推论所说,在很多情况下我们不需要显式指定类型。
So lambda expressions bring with them another friend - expanded type inference through target typing.
所以,lambda表达式带来了另一个相关功能,即通过目标类型化(target typing)实现的扩展类型推断。
Type inference is not allowed in cases where the variable is not assigned a value on the same line it is declared.
若是变量的声明和赋值不在同一行书写的话,编译器将不允许我们使用类型推断。
Array initializers now support type inference, significantly reducing the amount of code that needs to be typed.
数值初始值设定项现在可支持类型引用,这样大大减少了代码量。
How is dart VM's production mode faster when ignoring static types? Doesn't it need to do type inference at runtime?
飞镖vm的生产模式时,忽略了静态类型是怎样的?它不需要在运行时做类型推断?
In the overload resolution step, the compiler includes only those generic methods on which type inference succeeded.
在重载解析步骤中,编译器仅包括类型推理取得成功的那些泛型方法。
When there are no explicit type parameters, type inference is used to determine the types of parameters of functions.
没有显式类型参数时,会使用类型推理来确定函数的参数类型。
Type inference on composite keys depends on the names of the properties in the keys, and the order in which they occur.
组合键上的类型推理取决于这些键中属性的名称,以及属性的出现顺序。
Eventually we chose the complex algorithm because it is more similar to the behavior of type inference elsewhere in the language.
最终我们选择了复杂算法,因为其更类似于语言中其他地方的类型推断行为。
It's a prototype that shows the possibilities of type inference in a Ruby-like language, rather than a new language for programmers to use.
这是一个原型,用来展现以一种类ruby语言而不是一种新语言来实现类型推断的可能性。
Type inference helps by automatically inferring type signatures, so that the user doesn't have to provide trivial type information manually.
类型推断帮助你自动推断类型签名,所以用户不用人工提供一般的类型信息。
I am careful to make this type inference optional, and I think it's probably dangerous to use it as a cornerstone of any processing tool chain.
我谨慎地将这种类型推断设成可选的功能,认为如果将其作为所有处理工具链条的基础可能是危险的。
I am careful to make this type inference optional, and I think it's probably dangerous to use it as a cornerstone of any processing tool chain.
我谨慎地将这种类型推断设成可选的功能,认为如果将其作为所有处理工具链条的基础可能是危险的。
应用推荐