• 对于类型转换运算符操作返回类型必须是类或结构数据类型

    For a type conversion operator, either the operand or the return type must be of the data type of the class or structure.

    youdao

  • 可空类型提供类支持包括转换运算算术运算符

    Library Support for nullable types, including conversion operators and arithmetic operators.

    youdao

  • 转换定义方法类似于运算符根据它们转换类型命名

    Conversions are defined like operators and are named for the type to which they convert.

    youdao

  • 通过使用适当运算符可以轻松地枚举转换基础类型以下代码所示

    You can easily convert enumerations to the underlying type by using the appropriate operator, as shown in the following code.

    youdao

  • 一个转换运算符定义返回结构类型

    A definition of a conversion operator that returns the type of your class or structure.

    youdao

  • 类型提供转换运算符

    The source type provides the conversion operator.

    youdao

  • 对于向上转换运算如果编译无法根据上下文推断特定目标类型,则将报告错误

    As for the upcast operator, if the compiler cannot infer a specific target type from the context, it reports an error.

    youdao

  • 使用向上转换运算编译会尝试根据上下文推断出转换为的类型

    When you use the upcast operator, the compiler attempts to infer the type you are converting to from the context.

    youdao

  • 不过类型定义隐式转换运算这样可以这些类型使用运算

    However, you can define implicit conversion operators for a type, which enable you to use the assignment operator with those types.

    youdao

  • 转换运算符类型转换目标类型

    The conversion operator converts from a source type to a target type.

    youdao

  • 转换运算符类型转换目标类型

    The conversion operator converts from a source type to a target type.

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定