The angle brackets assign a specific type (that is, the parameterized type) to the generic type represented by the "T" argument types.
尖括号为由 “T”参数类型表示的泛型指定具体类型。
This is extremely simplistic and leads to an exception being thrown when a constructor or method is called with the wrong argument types.
这极为简单,使用错误的参数类型调用构造函数或方法时,会引发异常。
DB2 UDB and IDS allow you to write multiple functions that have the same name but apply to different number of arguments or different argument types.
DB 2UDB和IDS允许您编写多个具有相同名称的函数,但必须带有不同数目或不同类型的参数。
Using PHP V4, you would have to test the argument types in this example to be absolutely sure that the coder passes around the right kind of objects.
使用PHPv4时,必须测试本例中的参数类型,以绝对确保编码器传递类型正确的对象。
You may have different functions to call depending on argument types, for instance, or require some pre - or post-processing that makes more sense to write in Perl.
例如,根据参数类型,您可能会调用不同的函数,或者需要某些预处理或后处理,以使得用Perl编写代码会更有意义。
If the argument types match a particular overload exactly, then that overload is called.
如果参数类型确切匹配特定重载,则调用该重载。
When instantiating a template, should members of its incomplete argument types be visible?
当实例化一个模板,不完整的参数类型成员应该可见吗?
One is its complicated naming rules, in which multiple functions can have the same name if they have different argument types.
其中之一是它复杂的命名规则,多个函数可以有相同的函数名,只要他们的参数类型不同。
The compiler selects those functions that have the required number of parameters and for which the argument types match the parameter types.
编译器将选出形参个数和类型都与实参匹配的函数。
Having used the number of arguments to winnow the potentially viable functions, we must now look at whether the argument types match those of the parameters.
根据实参个数选出潜在的可行函数后,必须检查实参的类型是否与对应的形参类型匹配。
Having used the number of arguments to winnow the potentially viable functions, we must now look at whether the argument types match those of the parameters.
根据实参个数选出潜在的可行函数后,必须检查实参的类型是否与对应的形参类型匹配。
应用推荐