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:

    The fire I praise was once perduring flame
    Till it snuffs with our generation out;
    No matter, it’s all one, it’s but a name
    Not as late honeysuckle half so stout....
    Allen Tate (1899–1979)

    With a binding like you’ve got, people are gonna want to know what’s in the book.
    Alan Jay Lerner (1918–1986)