查询词典 default argument
- 与 default argument 相关的网络例句 [注:此内容来源于网络,仅供参考]
-
Default Argument Values The most useful form is to specify a default value for one or more arguments.
这样创建的函数可以在调用时使用较少的参数。
-
Note that this is somewhat different from a default argument because there is no real default value for this parameter.
这么多情况里面,有一个例外,就是存在一个参数是你完全不关心的(比如,它的值你可以通过另外一个参数知道),注意这和默认参数值有
-
However, if a parameter has a default argument, all the parameters that follow it must also have default arguments.
但是,如果有一个形参具有默认实参,那么,它后面所有的形参都必须有默认实参。
-
The compiler will automatically supply the default argument value for the omitted argument.
编译器自动将默认实参的值提供给被忽略的实参。
-
If an argument is provided, it overrides the default argument value; otherwise, the default argument is used.
如果提供了实参,则它将覆盖默认的实参值;否则,函数将使用默认实参值。
-
A default argument is a value that, although not universally applicable, is the argument value that is expected to be used most of the time.
默认实参是一种虽然并不普遍、但在多数情况下仍然适用的实参值。
-
This constructor provides a default argument, which is the empty string, so it also serves as the Message default constructor.
这个构造函数提供一个默认实参,所以它也可以作为默认构造函数。
-
A function that provides a default argument for a parameter can be invoked with or without an argument for this parameter.
调用包含默认实参的函数时,可以为该形参提供实参,也可以不提供。
-
In such cases, the default argument defined for the base version of the virtual will be passed to the derived version, which was defined using a different default argument.
在这种情况下,为虚函数的基类版本定义的默认实参将传给派生类定义的版本,而派生类版本是用不同的默认实参定义的。
-
Special attributes: func doc or doc is the function's documentation string, or None if unavailable; func name or name is the function's name; module is the name of the module the function was dened in, or None if unavailable; func defaults is a tuple containing default argument values for those arguments that have defaults, or None if no arguments have a default value; func code is the code object representing the compiled function body; func globals is the dictionary that holds the function's global variables — it denes the global namespace of the module in which the function was dened; func dict or dict contains the namespace supporting arbitrary function attributes; func closure is None or a tuple of cells that contain bindings for the function's free variables.
func defaults是一个包括有参数中设有默认值的元组;func name 或 name 是函数名。func code是一个编译后的代码对象;func globals是一个引用,指向保存了函数的全局变量的字典—-如果你在函数所在模块中定义了全局变量的话。func dict或 dict 包括了支持任意函数属性的名字空间;func closure 要么是None,要么是包括有函数自由变量捆绑的单元的元组。
- 推荐网络例句
-
This one mode pays close attention to network credence foundation of the businessman very much.
这一模式非常关注商人的网络信用基础。
-
Cell morphology of bacterial ghost of Pasteurella multocida was observed by scanning electron microscopy and inactivation ratio was estimated by CFU analysi.
扫描电镜观察多杀性巴氏杆菌细菌幽灵和菌落形成单位评价遗传灭活率。
-
There is no differences of cell proliferation vitality between labeled and unlabeled NSCs.
双标记神经干细胞的增殖、分化活力与未标记神经干细胞相比无改变。