Skip to content

Glossary: Software Design Patterns in C++

Abstract class

Also written: abstract classes, abstract type

A class with at least one pure virtual function, so you can't create an object of it directly. It exists to be inherited from, as `DiscountRule` and `Report` are.

Where the book teaches it

Related terms

Pure virtual functionInterfaceVirtual destructor