virtual table pointer

Hey,

I know the vptr ("virtual table pointer") points to an array of vtbl ("virtual table"). the thing I can understand is that, is there only one vptr at run time, and a bunch of vtbls that each one is associated with a class that has virtual functions, or is it that there is a vptr for every polymorphic class ?
As implementation would make it. It is possible, that it will not use virtual table for dynamic dispatch at all.

Usual implementation is to have one virtual table for each class with virtual functions.
Topic archived. No new replies allowed.