Main Page | See live article | Alphabetical index

Dispatch table

In computer science, dispatch table is a list of pointers to actual implementation of each method. Use of this table is a common technique when implementing late binding in object-oriented programming. Generally, OOP languages support the table as built-in feature to provide seemless late binding.

The implemenation is like in C:

struct method
{
 void (*func) ();
};

table[] = {

 func_a,
 func_b,
};