Encyclopedia > Dispatch table

  Article Content

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,
};



All Wikipedia text is available under the terms of the GNU Free Documentation License

 
  Search Encyclopedia

Search over one million articles, find something about almost anything!
 
 
  
  Featured Article
Battle Creek, Michigan

... of it is land and 2.2 km² (0.8 mi²) of it is water. The total area is 1.92% water. Demographics As of the census2 of 2000, there are 53,364 people ...

 
 
 
This page was created in 26.8 ms