Polymorphic Classes Index

From RAD Studio
Jump to: navigation, search

Go Up to C++ Specifics Index

Classes that provide an identical interface, but that can also be implemented to serve different specific requirements, are referred to as polymorphic classes. A class is polymorphic if it declares or inherits at least one virtual (or pure virtual) function. The only types that can support polymorphism are class and struct.