Late Binding - Late Binding Implementations - Late Binding in C++

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:

    Notwithstanding the unaccountable apathy with which of late years the Indians have been sometimes abandoned to their enemies, it is not to be doubted that it is the good pleasure and the understanding of all humane persons in the Republic, of the men and the matrons sitting in the thriving independent families all over the land, that they shall be duly cared for; that they shall taste justice and love from all to whom we have delegated the office of dealing with them.
    Ralph Waldo Emerson (1803–1882)

    [Government’s] true strength consists in leaving individuals and states as much as possible to themselves—in making itself felt, not in its power, but in its beneficence, not in its control, but in its protection, not in binding the states more closely to the center, but leaving each to move unobstructed in its proper orbit.
    Andrew Jackson (1767–1845)