Skip to content

Glossary: C++ Beyond the Basics

Virtual function

Also written: virtual, virtual functions

A member function that derived classes can replace, with the version chosen at run time from the object's real type.

Where the book teaches it

Related terms

Dynamic dispatchOverridePure virtual function