可以使用 typename…声明可变参数模板。
可以在同一个函数中同时使用命名参数和可变参数,只需要将可变参数的省略号放在命名参数列表之后。
Named and variadic parameters can be used in the same function, simply by placing the variadic ellipsis after the list of named parameters.
而CMB研究最让人惊讶的结果是宇宙学家创造的模型,这个模型只有6个可变参数,但却解释了一切。
The most jaw-dropping thing about the CMB results is that the cosmologists' model, which has only a half-dozen adjustable parameters, fits the data at all.
与其用可变参数,更喜欢用重载方法。
Prefer overloaded methods to methods that take variable parameters.
将加速段、减速段高度及其管径比作为可变参数,建立了结构优化数学模型。
Set the height of accelerating section and decelerating section, ratio of pipe-diameter as alterable parameter, the mathematic model of structure optimization was established.
模型中的气-固相同位素交换几率为可变参数,其余参数使用了文献值或实验值。
In the model, isotopic exchange probability is variable and other parameters come from reference or experiment.
在固定参数动态灰色预测模型基础之上进行改进,提出了可变参数动态灰色预测模型。
A variable parameter value rolling grey forecasting model (RGM) is constructed, which makes an enhancement to the fixed parameter value RGM.
一种是“可变参数内插法”,另一种是用契比雪夫多项式对卫星直角坐标进行高阶内插的方法。
One of them is "the interpolation of variable parameters" and the other is the higher order interpolation of rectangular coordinates of satellites by means of Chebyshev polynomial.
从测树学中对树干形状的描述出发,选择经典的孔兹干曲线式推导出可变参数的削度方程,理论依据可靠。
From the study of tree trunks described in Forest mensuration, the classic curve-derived were chosen to deduct the taper equation of variable parameters, which is reliable in theoretical basis.
实验结果论证了电化学加工各种可变参数对去除齿坯金属层厚度的影响程度,为提高齿轮电化学加工精度提供了重要的理论依据。
The experiments and results demonstrate that various sorts of alterable parameters of electrochemical process have some effects on removing metallic layer of semifinished product of gear, providing…
所取得的研究成果将为实现参数可变蓄能器的自适应控制奠定基础。
The research results will build the study base that the variable parameters accumulator may be controlled by adaptive control.
C支持使用 va_list定义具有数量可变的参数的函数,C++在这方面没有改进。
C has support for defining functions with a variable number of arguments using va_list, and C++ never improved on that.
对f的第二次调用的可变列表只包含 8.333,而a变成第一个参数。
The second call to f will have the variable list containing only 8.333, while a becomes the first argument.
研究了一些重要的内核参数、它们的作用以及如何对它们进行调优,包括如何最适当地使用可变页面大小支持。
You examined some important kernel parameters, what they do, and how to tune them, including how to make the best use of the variable page size support.
为了允许除形参数组中定义的实参之外额外的实参(要么是必需的值,要么是可变长度的值),我将令这个调用返回被处理实参的实际数量。
To allow for added arguments beyond those defined in the parameter array (either required values or variable length sets of values), I'll have the call return the actual number of arguments processed.
对该汽油机采用的可变进气系统的歧管直径和长度、控制阀开关的切换转速等结构参数进行了优化设计。
Structure parameters of its variable intake system, such as diameter and length of intake manifold, switching speed of control valve switch, etc. , are optimized.
规定了一个通用的可变函数参数(…t)及其传递(v…)。
A general syntax for variable function arguments (... t) and their propagation (v...) is now specified.
这个调用从./linux/kernel/printk.c 中的printk函数开始,它会在使用 va_start解析可变长度参数之后调用vprintk(在同一个源文件)。
The call begins in ./linux/kernel/printk.c in the printk function, which calls vprintk (in the same source file) after resolving the variable-length arguments using va_start.
运用分形递归算法,构造了参数可变的三维树木通用模型。
The paper used fractal recursion algorithm to construct the 3D tree model whose parameters were variable.
设计了一种可变湍流参数定容燃烧弹试验装置,用于预混湍流燃烧的基础研究。
An experimental system of constant volume combustion bomb with variable turbulence parameters is designed and carried out for the fundamental research of premixed turbulent combustion.
开关状态参数(on)被声明为var,所以是可变的。
可变模糊集方法以可变模糊集理论为基础,通过模型参数的变化,提高评价结果的可靠性。
Variable fuzzy sets methods are based on variable fuzzy sets theory. Through variability of model parameters, the reliability of evaluation could be enhanced.
求出使最优解或最优基保持最优的模型参数可变范围,并讨论了多个参数同时发生变化的情况。
The variable ranges of the model parameters for which the optimal solution or optimal basis remain optimal are determined. The case when several parameters changing simultaneously is discussed.
如何定义具有数量可变的参数(每个参数的类型可能不同)的模板化类或函数?
How do you define a templated class or a function with a variable number of arguments, each with a potentially different type?
采用可变长度单摆的力学模型对秋千振荡给出初等分析,采用微扰近似法导出了秋千的非线性参数共振解析解,并进行了讨论。
A variable length simple pendulum model is introduced, elementary analysis and perturbation analytic solution of nonlinear differential equation for parametric resonance are presented.
使用指定的格式信息将指定的对象和可变长度参数列表的文本表示形式写入标准输出流。
Writes the text representation of the specified objects and variable-length parameter list to the standard output stream using the specified format information.
操作和参数可变性——您可以在接口定义级别参数化操作和参数。
Operations and parameters variability-you can parameterize operations and parameters at the interface definition level.
Strategy模式可用于实现操作的可变性,Decorator 模式可用于实现参数的可变性。
The Strategy pattern can be used to implement operations' variability, and the Decorator pattern can be used to implement parameters' variability.
要有效地使用该能力监视系统状态、电子邮件和任何其他需要的参数,我们需要保留这种可变性,同时为其使用提供一个简单的接口。
To use the capability effectively for monitoring system status, E-mail messages, and any other desired parameter, we need to preserve this variability while providing a simple interface for its usage.
例如,如果设计目标是支持运行时的可变性,你就需要支持在不改变代码或不重启应用的情况下动态增加新的参数。
For instance, if the goal is to support variability at runtime, you could support adding new parameters and changing existing ones without code changes or application restarts.
应用推荐