Skip to content

Rule: Override reuses an inherited vtable slot

Canonical rule slug: inherited-override-reuses-slot. ← back to all rules

A derived class overrides an inherited virtual, adding an exported symbol while reusing the existing slot rather than growing the vtable.

Canonical demonstration