tags:

views:

90

answers:

3

Possible Duplicate:
why do I need virtual table?

What is vtAble in C++. Got to know vtable is a virtual table which has an array of pointers to virtual functions. Is there a article with practical implementation. Any walk through is greatly appreciated.

+3  A: 

C++-Lite-Faq is a good start point.

phadej
+1  A: 

For all it's worth, it is not a standard C++ terminology. It is just an implementation detail used by the implementation to implement virtual functions/dynamic binding

Chubsdad
It's not terminology of the standard, or standardized at all, but it is quite a standard term. Anyway, this would be better as a comment as it doesn't attempt to answer the question.
Potatoswatter
+1  A: 

Vtables (or virtual tables) are how most C++ implementation do polymorphism. For each concrete implementation of a class, there is a table of function pointers to all the virtual methods. A pointer to this table (called the virtual table) exists as a data member in all the objects. When one calls a virtual function, we lookup the objects vtable and call the appropriate derived calls function.

doron