显式转换 英语是什么意思 - 英语翻译

explicit conversions
an explicit cast

在 中文 中使用 显式转换 的示例及其翻译为 英语

{-}
  • Political category close
  • Ecclesiastic category close
  • Programming category close
显式转换指那些需要指定CAST或CONVERT函数的转换。
Explicit conversions are those conversions that require the CAST or CONVERT function to be specified.
显式转换集包括所有隐式转换。
The set explicit conversions includes all implicit conversions..
请注意,它需要显式转换;.
Observe that it requires an explicit cast;
否则,结果为显式转换产生的值。
Otherwise, the result is the value produced by the explicit conversion.
混合使用不同类型的操作需要显式转换.
Operations that mix different types require an explicit conversion.
Combinations with other parts of speech
用动词使用
显式转换可以发生在强制转换表达式中,第6.2节中对此进行了进一步描述。
Explicit conversions can occur in cast expressions, and are described further in§6.2.
在代码中,类型错误也能由显式转换或强制转换引入。
Type errors can also be introduced by explicit conversions, or casts, in the code.
因此,在C++中,如果从一个void*得到一个T*,你必须进行显式转换
Consequently, in C++, to get a T* from a void* you need an explicit cast.
Varjfloat64=float64(i)//若没有显式转换,该语句会报错.
Var j float64= float64(i)//thisstatement will not work without explicit conversion.
与C不同的是,Go在不同类型的项之间赋值时需要显式转换.
Unlike in C,in Go assignment between items of different type requires an explicit conversion.
从sql_variant数据类型到大值数据类型的转换是显式转换
Conversion from the sql_variant datatype to the large-value data types is an explicit conversion.
Varjfloat64=float64(i)//必须显式转换.
Var j float64=float64(i)//this statement will not work without explicit conversion.
这符合我们消除隐式转换的愿望,在float1和float之间进行显式转换是件麻烦且不必要的事情。
This is consistent with the desire to eliminate implicit conversions,and requiring an explicit conversion between float1 and float is cumbersome and needlessly verbose.
(2)抽象类不能用作参数类型、函数的返回值或者显式转换类型;.
An abstract class shall not be used as a parameter type, as a function return type,or as the type of an explicit conversion.
因此,不允许转换运算符将object转换为其他类型或将其他类型转换为object,这是因为已存在隐式和显式转换来执行object与所有其他类型之间的转换。
Thus, conversion operators are not allowed to convert from orto object because implicit and explicit conversions already exist between object and all other types.
有两种转换类型:隐式转换和显式转换
There two types of type conversion:implicit type conversion and explicit type conversion.
抽象类型不能用作参数类型、函数返回类型或显式转换的类型。
Abstract types cannot be used as parameter types, as function return types,or as the type of an explicit conversion.
包含explicit关键字的转换运算符声明引入用户定义的显式转换
A conversion operator declaration thatincludes the explicit keyword introduces a user-defined explicit conversion.
具体而言,不可能重新定义已存在的隐式或显式转换
In particular,it is not possible to redefine an already existing implicit or explicit conversion.
您需要使用显式转换将已声明为object的变量转换为特定类型:.
You need to use explicit casts to convert a variable declared as object to a specific type:.
一个包括关键词explicit的转换操作符声明引入了一个用户定义的显式转换
A conversion operator declaration thatincludes the explicit keyword introduces a user-defined explicit conversion.
大值数据类型表现出与小值数据类型相同的隐式和显式转换行为,特别是varchar、nvarchar和varbinary数据类型。
Large-value data types exhibit the same implicit and explicit conversion behavior as their smaller counterparts, specifically the varchar, nvarchar and varbinary data types.
必要时这些结果可以被使用显式类型转换来调整。
When necessary, these results can be tailored by using explicit type conversion.
显式类型转换-此过程也称为类型转换,它是用户定义的。
Explicit Type Conversion This process is also called type casting and it is user defined.
需要显式类型转换才能将一种类型的变量分配给另一种类型。
Explicit type conversion is required to assign a variable of one type to another.
显式类型转换-这些转换是通过用户使用预定义的函数显式完成的。
Explicit type conversion- These conversions are done explicitly by users using the pre-defined functions.
Object,所以您在这里需要一个显式转换:.
Object, so you need an explicit cast here:.
注意,有时一个显式转换形式必须被写成(T)(v)以免发生歧义。
Please note, sometimes, the form of explicit conversions must be written as(T)(v) to avoid ambiguities.
InvalidCastException当从基类型或接口到派生类型的显式转换在运行时失败时,就会引发此异常。
InvalidCastException Thrown when an explicit conversion from a base type or interface to a derived types fails at run time.
显式引用转换需要实时检测保证其正确进行的引用类型之间的转换。
The explicit reference conversions are those conversions between reference-types that require run-time checks to ensure they are correct.
结果: 67, 时间: 0.0171

单词翻译

顶级字典查询

中文 - 英语