Late Binding in C++
In C++, late binding (also called "dynamic binding") is normally made happen by prepending the virtual keyword to a method. C++ will then create a so-called virtual table, which is a look-up table for functions that from now on will always be consulted on each function call. You may find further information about this type of late binding under the related article of Dynamic dispatch; however, it must be noted that even in textbooks the "late binding" term is used in favor of "dynamic dispatch".
Read more about this topic: Late Binding, Late Binding Implementations
Famous quotes containing the words late and/or binding:
“And last of all, high over thought, in the world of morals, Fate appears as vindicator, levelling the high, lifting the low, requiring justice in man, and always striking soon or late when justice is not done. What is useful will last, what is hurtful will sink.”
—Ralph Waldo Emerson (18031882)
“What is lawful is not binding only on some and not binding on others. Lawfulness extends everywhere, through the wide-ruling air and the boundless light of the sky.”
—Empedocles 484424 B.C., Greek philosopher. The Presocratics, p. 142, ed. Philip Wheelwright, The Bobbs-Merrill Co., Inc. (1960)