• 例如如果知道泛型用于引用类型则应用约束

    For example, if you know that your generic class is intended for use only with reference types, apply the class constraint.

    youdao

  • 某一约束应用类型参数时,必须存在具体参数约束类型标识引用转换

    When a constraint is applied to a generic type parameter, an implicit identity or reference conversion must exist from the concrete argument to the type of the constraint.

    youdao

  • 通过某个可选参数声明过程参数使用约束引用类型类型参数。

    A procedure is declared with an optional parameter that USES a type parameter that is not constrained to be a reference type.

    youdao

  • 通过某个可选参数声明过程参数使用约束引用类型类型参数。

    A procedure is declared with an optional parameter that USES a type parameter that is not constrained to be a reference type.

    youdao

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

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

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