Thursday, July 9, 2009

What is v pointer in c++?

When an object has virtual functions, there is a v-pointer inserted that points to a virtual table. The table uses additional pointers that complete the functions. For example, a box can be wrttien, moved and sized. The table controls the links to those functions.





The object v-pointer steers to the table that controls the functions.

surveys

No comments:

Post a Comment