发明名称 A method for implementing virtual function tables in a compliler for an object-oriented programming language.
摘要 <p>A method for a computer compiler for an object-oriented programming language for implementing virtual functions is provided. In preferred embodiments of the present invention, the virtual function table for a class contains a tile table and a plurality of sub-tables. The tile table contains pointers to the sub-tables, and the sub-tables contain pointers to the virtual function members of the class. Each child class shares a sub-table of the parent class when the child class does not override a function in that sub-table. If the child class overrides a function, then the child is allocated its own sub-table. Each virtual function member for a class is identified by a tile table offset and a sub-table offset. &lt;IMAGE&gt;</p>
申请公布号 EP0569861(A1) 申请公布日期 1993.11.18
申请号 EP19930107387 申请日期 1993.05.06
申请人 MICROSOFT CORPORATION 发明人 ADCOCK, JAMES L.
分类号 G06F9/42;G06F9/44;G06F9/45;(IPC1-7):G06F9/44 主分类号 G06F9/42
代理机构 代理人
主权项
地址