首页> 外国专利> Fast dispatch predicate for overloaded functions with generic type hierarchies that lack contravariance

Fast dispatch predicate for overloaded functions with generic type hierarchies that lack contravariance

机译:具有泛型类型层次结构且缺少协变的重载函数的快速调度谓词

摘要

The disclosed embodiments provide a system that facilitates the development and execution of a software program. During runtime of the software program, the system obtains a function call associated with an overloaded function and a generic type hierarchy that lacks contravariance. Next, the system determines an applicability of an implementation of the overloaded function to the function call. Finally, the system selects the implementation for invocation by the function call based on the determined applicability and a partial order of implementations for the overloaded function.
机译:公开的实施例提供了一种便于软件程序的开发和执行的系统。在软件程序的运行期间,系统会获得与重载函数和缺少矛盾性的泛型类型层次结构关联的函数调用。接下来,系统确定重载函数的实现对函数调用的适用性。最后,系统根据确定的适用性和重载函数的部分实现顺序,选择通过函数调用进行调用的实现。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号