Unfortunately, once you start writing general predicates describing the values you would like to handle within a particular function body, it becomes easy to create ambiguous conditions.
不幸的是,一旦您开始编写通用的断言来描述自己希望在某个特定的函数体中处理的值时,就很容易创建一些模糊的条件。
There is more than one function that matches and none of the matches is clearly best. This case is also an error; the call is ambiguous .
存在多个与实参匹配的函数,但没有一个是明显的最佳选择。这种情况也是,该调用具有二义性。
If after looking at each argument there is no single function that is preferable, then the call is in error. The compiler will complain that the call is ambiguous.
如果在检查了所有实参后,仍找不到唯一最佳匹配函数,则该调用错误。编译器将提示该调用具有二义性。
This call is therefore ambiguous: Each viable function is a better match on one of the arguments to the call.
因此,这个调用有二义性:每个可行函数都对函数调用的一个实参实现更好的匹配。
This model function is applied to NSCAT data to retrieve wind vectors, with the Maximum-Likelihood Estimator to get a set of ambiguous wind vectors and a vector filter technique to remove ambiguities.
利用该模式函数对另一组NSCAT后向散射系数数据进行海面风场反演,采用最大似然估计确定多个风矢量解,并采用矢量中值滤波消除多解。
A function template specialization might be ambiguous because template argument deduction might associate the specialization with more than one of the overloaded definitions .
在使用函数模板时,如果你定义了多个重载的特例化函数,可能导致模糊不清的调用,所以这时编译器会从中选择最特例的那个函数定义来调用。
A function template specialization might be ambiguous because template argument deduction might associate the specialization with more than one of the overloaded definitions .
在使用函数模板时,如果你定义了多个重载的特例化函数,可能导致模糊不清的调用,所以这时编译器会从中选择最特例的那个函数定义来调用。
应用推荐