当前位置:
在线翻译 >
英语翻译 > explicit conversions
"查查词典"手机版
千万人都在用的超大词汇词典翻译APP
- Function is used to allow explicit conversions of data types that are not allowed implicitly
函数用于显式转换不允许隐式转换的数据类型。 - Consult the documentation for the language you are using to learn more about explicit conversion
请参见所使用语言的文档,以便更多地了解显式转换。 - Explains the concept of type conversion and the distinction between implicit and explicit conversion
解释类型转换的概念以及隐式和显式转换的不同。 - Explicit conversions are those conversions that require the cast or convert function to be specified
显式转换指那些需要指定cast或convert函数的转换。 - For more information on explicit conversion , see 6 . 2 explicit in the c language specification
有关显式转换的更多信息,请参见“ 6 . 2 c #语言规范中的显式” 。 - Unlike implicit conversion , explicit conversion operators must be invoked by means of a cast
与隐式转换不同,必须通过强制转换的方式来调用显式转换运算符。 - Consult the documentation for the language you are using for information about explicit conversion behavior
有关显式转换行为的信息,请参见所用语言的文档。 - The following code example uses explicit conversion to convert a double value to an integer value
下面的代码示例使用显式转换将一个双精度值转换为一个整数值。 - Explicit conversion operators require a type cast be present in the source code to perform the conversion
显式转换运算符则要求在源代码中指定类型转换才能执行转换。 - Thrown when an explicit conversion from a base type to an interface or to a derived type fails at runtime
当从基类型到接口或派生类型的显式转换在运行时失败时,就会引发此异常。
Last modified time:Sun, 17 Aug 2025 00:29:56 GMT