WordNet-Online
Free dictionary and thesaurus of English. Definitions, synonyms, antonyms and more...
Hint: double-click any word to get it searched!

Google
 

virtual function

 

Definitions from the Web

Virtual Function

A virtual function is a function defined in a base class that can be overridden by a derived class. It allows polymorphic behavior, where different derived classes can have different implementations of the same function.

Examples:

As a noun:

  1. The virtual function in the base class is overridden by the derived class.
  2. The programmer forgot to declare the virtual function as const.

As a verb:

  1. If you want to modify the behavior of the virtual function, you can override it in the derived class.
  2. The virtual function dynamically binds to the appropriate function at runtime.

Related Products

Search for related products on Amazon.

virtously virtu virtuaaly virtual-keiretsus virtual-reality virtual virtual assistant virtual friend virtual function virtual image virtual machine virtual memory virtual prenominal virtual reality virtual storage virtualisation virtualities

Sponsored (shop thru our affiliate link to help maintain this site):

WordNet-Online
Home | Free dictionary software | Copyright notice | Contact us | WordNet dictionary | Automotive thesaurus