vptr
Vptr is an internal compiler-generated member used to support dynamic dispatch of virtual functions in polymorphic objects, most commonly in C++. It refers to a hidden pointer inside an object that points to a vtable, a per-class table of function pointers implementing the virtual function calls for that class.
When an object of a class with virtual functions is created, the object typically contains a vptr
Multiple inheritance can complicate vptr usage. An object may contain more than one vptr (one for each
Portability and standards considerations are important. The C++ standard defines the semantics of virtual functions but