Virtual Table layout in memory?

后端 未结 6 1543
陌清茗
陌清茗 2021-02-08 13:11

how are virtual tables stored in memory? their layout?

e.g.

class A{
    public:
         virtual void doSomeWork();
};

class B : public A{
    public:         


        
6条回答
  •  情话喂你
    2021-02-08 13:55

    For a very detailed description of Open Watcom's class layout have a look at the Class Layout notes

提交回复
热议问题