vtable
English
editEtymology
editShortening of virtual method table or virtual function table.
Pronunciation
editNoun
editvtable (plural vtables)
- (programming) A table of memory pointers to different implementations of a virtual function.
- 2000, Robert C. Martin, More C++ gems:
- This solution allows the Command executor to iterate through a collection of unrelated objects with no vtables and pick out the right method for each one.
- 2003, John C. Mitchell, Concepts in programming languages:
- Note that nonvirtual functions do not appear in a vtable.
- 2003, Steve Heller, C++: a dialogue: programming with the C++ standard library:
- The most likely result will be a crash when the code tries to use a vtable entry that contains random garbage.
Further reading
edit- virtual method table on Wikipedia.Wikipedia