Type inference is used for methods, too.
类型推断对方法也有用。
Another example: Generic type inference.
另一个示例:通用类型推断。
Type inference-both exact and speculative.
类型推断——包括精确和推测两种方式。
You also make use of Scala's type inference.
您也可以使用Scala的类型接口。
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为数组初始化增加了类型推断。
Even with type inference, redundant type information is needed.
即使使用类型推断,还是需要多余的类型信息。
Some of these, such as type inference, as discussed, come for free.
其中一些,比如已经讨论过的类型推断,可以随意使用。
Instead, the compiler could figure it out for itself using type inference.
相反,使用类型推断,编译器可以自己处理。
Complete type inference: you don't need to type your local variables.
完整的类型引用:无需输入本地变量。
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.
虽然看上去不错,不过添加类型推断却不只是为了提高开发者的那么一点点输入速度。
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.
捕获助手技巧涉及多个因素:类型推断和捕获转换。
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的生产模式时,忽略了静态类型是怎样的?它不需要在运行时做类型推断?
When there are no explicit type parameters, type inference is used to determine the types of parameters of functions.
没有显式类型参数时,会使用类型推理来确定函数的参数类型。
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.
我谨慎地将这种类型推断设成可选的功能,认为如果将其作为所有处理工具链条的基础可能是危险的。
应用推荐