To do so, developers would need to manually implement the provided interfaces and extend the abstract base classes.
要想这样做,开发人员需要手动地实现所提供的接口,并且扩展抽象基础类。
Data categories are like abstract base classes; a category might be able to represent all models of car, for instance.
数据类别类似于抽象基类,比如,一个类别可以表示所有的汽车型号。
Even in this situation, using abstract base classes can be advantageous.
在这样的情况下,使用抽象基类也有巨大的优越性。
It is even more beneficial to apply the technique of abstract base classes to the scenario of binary packaging in DLLs.
把抽象基类技术应用到DLL里的二进制包情况下也是有益的。
Remember that pure abstract base classes provide little more than a table of function entry points, and the entry points are allocated by the compiler of the object.
记住纯抽象基类只是提供了函数入口点的表,入口点是由编译器分配的。
Remember that pure abstract base classes provide little more than a table of function entry points, and the entry points are allocated by the compiler of the object.
记住纯抽象基类只是提供了函数入口点的表,入口点是由编译器分配的。
应用推荐