3 ms·
Typically the object contains a single pointer to the vtable which is then the list of function pointers. You can do this structure in C, but more common is th
by kllrnohj 4y ago
Typically the object contains a single pointer to the vtable which is then the list of function pointers.
You can do this structure in C, but more common is the struct of function pointers which avoids a level of indirection at the cost of object size.