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
Northampton, Suffolk County, New York

... 72°41'49" West (40.879853, -72.696948)1. According to the United States Census Bureau, the town has a total area of 23.8 km² (9.2 mi²). 23.5 km² ...

 
 
 
This page was created in 35.5 ms