Derived classes

Any class type (whether declared with class-key class or struct) may be declared as derived from one or more base classes which, in turn, may be derived from their own base classes, forming an inheritance hierarchy.

# Defect reports

DRApplied toBehavior as publishedCorrect behavior
CWG 1710C++98the syntax of class-or-decltype made it impossible to derive froma dependent class where the template disambiguator is requiredallowed template

# See also