会员体验
专利管家(专利管理)
工作空间(专利管理)
风险监控(情报监控)
数据分析(专利分析)
侵权分析(诉讼无效)
联系我们
交流群
官方交流:
QQ群: 891211   
微信请扫码    >>>
现在联系顾问~
热词
    • 9. 发明授权
    • Resolving operators with user defined operands
    • 用用户定义的操作数解决运算符
    • US07620944B2
    • 2009-11-17
    • US10699327
    • 2003-10-31
    • Cameron BeccarioPaul VickHarish Venkata KantamneniAmanda SilverJohn Hamby
    • Cameron BeccarioPaul VickHarish Venkata KantamneniAmanda SilverJohn Hamby
    • G06F9/45
    • G06F8/437
    • Techniques are disclosed to support the resolution of an operator which has been called with inconsistent typing and at least one operand of a user-defined type. In order to allow the compilation of such an operation, first all possible widening conversions for each operand are examined to determine if any widening conversions of any operands would result in types over which the operator is defined. If not, both the narrowing and the widening conversions of each operand are considered, to determine if any conversions of either or both operands would result in types for which the operator is defined. If only widening conversions are used, the most encompassed possible result type is selected as the target type. If a narrowing conversion is used, the most encompassing possible result type is selected as the target type. In order to use the target type, each operand is converted to the target type. The operation is then performed using the converted operands.
    • 公开了技术来支持以不一致的打字和用户定义的类型的至少一个操作数来调用的操作者的解析。 为了允许编译这样的操作,首先检查每个操作数的所有可能的扩展转换,以确定任何操作数的任何扩大转换是否会导致定义操作符的类型。 如果不是,则考虑每个操作数的缩小和扩大的转换,以确定任一或两个操作数的任何转换是否会导致定义操作符的类型。 如果仅使用加宽转换,则选择最包含的可能结果类型作为目标类型。 如果使用缩小转换,则选择最包含的可能结果类型作为目标类型。 为了使用目标类型,每个操作数都转换为目标类型。 然后使用转换的操作数执行操作。